Skip to content

PawelHarasiuk/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

TicTacToe Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages