Question
JavaFX Tic-Tac-Toe game homework help. Requirements: Work on a program to create a simple two player version of tic-tac-toe. Your game should be able to
JavaFX Tic-Tac-Toe game homework help.
Requirements:
Work on a program to create a simple two player version of tic-tac-toe. Your game should be able to determine a winner or if the game results in a tie. You must also have a button that will reset the game so it can be played again.
The game should be able to be reset so it can be played multiple times.
The game ends when one person has won or there is a tie.
The winner should be printed to the command line.
The board should be comprised of tiles (button objects) the user can click on to choose their move.
Notes
X should go first
Unlike past assignments, I am fine with the main class being the board, but the board class must be called Board.java.
Once a space is taken, you have to make sure that it cannot be claimed by the other player. For example, if X picks a spot O cannot come in and take it.
Thank you very much for your help! If you need any additional information please comment and let me know.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started