tic-tac-toe
Steps to run the application
- Clone the repo
- Run command mvn spring-boot:run
- Hit url http://localhost:8080
- Click on Play button
- Once you start playing you can see the End button.
- Select the sign for first player before starting to play.
- The other player will be of opposing sign Automatically.
- When a player wins , game will end and a line will be drawn automatically for the winning line.
- When it is a tie, game ends automatically.
- After clicking on Play button, the game starts from scratch
TODO
- [] Add certain validations.
- [] Show some message once game is tied.
- [] Need to do some refactoring for certain functions at the GameState class in the backend which has grown enormous now :)