|
|
| java |
Expert:Abdoulie
hi to all there. i want you to help me with the code of this program. Q1:Write a class definition for a class TIC-TAC-TOE.An objects of type TIC-TAC-TOE is a single game of TIC-TAC-TOE.Store the game as a single two dimensional array of class that has three rows and three columns . Include method to add a move to display the game. XX0 X0 0 To tell whose turn it is (0 or x)to tell whether there is a winner to say who is the winner and to initialize the game. Write a main method for the class that will allow users to play the game at the terminal and keyboard.Both players will sit at the keyboard and enter their moves in turn.
Write a strategy method that will compute the best possible move,thus allowing the computer to pay against somebody. |
| Answers |
| More Questions |
|
|
Post Answers
Ask Question
Facing Programming Problem?
|
|
|
|
|