Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help creating a Tic-Tac-Toe game using Java. Here is the requirements for

ID: 3778195 • Letter: I

Question

I need help creating a Tic-Tac-Toe game using Java. Here is the requirements for creating this program. I need to develop a program in which a human plays against the computer.

1. Validate user input at every opportunity. a. Do not allow number entries less than 0 b. Do not allow number entries greater than 8 c. Do not allow non-numeric entries

2. Do not use global variables in the development of the program

3. You may use global constants in the development of the program

4. Use one-dimensional arrays to keep track of the game: a. Computer moves b. Human moves

5. You must use functions to pass arrays and implement other program requirements.

6. The program must be developed using functions so that the main() function consists mostly of function calls

7. Computer must be aggressive and take every opportunity to win the game, block the user from winning and if the human makes a mistake, then the computer will capitalize on it and win if possible

8. The main() function must use a loop to keep the user in the program until he/she wants to quit.

9. You may not use infinite loops: for(;;) or while(true)

10. You may not use the break statement to exit loops

Explanation / Answer

} // end class

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote