Question: 2 . Create a JAVA project Using Apache NetBeans IDE. You can use version 1 3 or 1 4 of Java NetBeans. Using the JFrame

2. Create a JAVA project Using Apache NetBeans IDE.
You can use version 13 or 14 of Java NetBeans.
Using the JFrame Form or JPanel Form to create the create the application.
Run the program. Debug the code, making sure all calculations are correct and the line spacing is suitable for readability.
Your program Assignment
Create a GUI application that simulates a game of tic tac toe. (There is one example in the book of a possible example of the applications window. Look.). The window shown in the figure uses nine large JLabels of Buttons components to display the Xs and Os
One simple way to do the program
One approach in designing the application is to use a two-dimensional int array to simulate the game board in memory. When the user clicks the New Game button, the application should step through the array, storing a random number in the range of 0 through 1 in each element. The number 0 represents the letter O, and the number 1 represents the letter C. The JLabel components should then be updated to display the game board. The application should display a message indicating whether player X won, player Y won or the game a tie.
Lets Get more complicated
Instead of have a random generated game, see if you can create the game where the game is played by two people and actually picks the position of each round played. Look at the example on the web:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!