This is a simple TicTacToe game implemented in Java using the Vaadin framework.
Game.java**: Contains the main logic and UI components for the TicTacToe game.
To run the TicTacToe game:
- Ensure you have Java and Maven installed.
- Clone or download this repository.
- Open the project in your preferred Java IDE.
- Run the
Game
class.
- The game is played on a 3x3 grid.
- Player X always goes first and Player O follows.
- If all cells are filled and no player has three marks in a row, the game is a draw.
- Click on an empty cell to place your marker (X or O).
- The first player to get three of their marks in a row (horizontally, vertically, or diagonally) wins the game.
Enjoy the game!