Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 937 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 937 Bytes

TicTacToe

This is a simple TicTacToe game implemented in Java using the Vaadin framework.

Project Structure

Game.java**: Contains the main logic and UI components for the TicTacToe game.

How to Run

To run the TicTacToe game:

  1. Ensure you have Java and Maven installed.
  2. Clone or download this repository.
  3. Open the project in your preferred Java IDE.
  4. Run the Game class.

How to Play

  • 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.

Game Interface

interface



Enjoy the game!