Answer to Question #62875 in Java | JSP | JSF for yirdi
The game is started by creating the object in the main method. All other methods are non static.
The board must be represented as a 2 dimensional Array
The user picks a spot by using the numbers 1-9
1 | 2 | 3
4 | 5 | 6
7 | 8 | 9
After each move redisplay the board with the new entry
Detect invalid moves
Detect a winner or full board
Do not use a GUI to display of the board just use System.out
Use different methods, don't put all you code in one place!!!!
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!