Skip to content

JavaTicTacToe is a simple, text-based implementation of the Classic Tic-Tac-Toe Game. Players take turns placing X and O marks on a 3x3 grid. The game checks for wins in rows, columns, and diagonals, and continues until one player wins or the board is full, resulting in a draw.

License

Notifications You must be signed in to change notification settings

XEHIL/JavaTicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JavaTicTacToe - The Tic-Tac-Toe Game written in Java

This is a simple implementation of the Tic-Tac-Toe Game using Java. JavaTicTacToe GIF

Installation

  1. Install IntelliJ IDE or any suitable Java IDE.
  2. Open the JavaTicTacToe.java file in the IDE.
  3. Run the code.
  4. Player 1 gets 'X' and Player 2 gets 'O'.
  5. Each player has to choose the position (1-9).
  6. Enjoy!

License

The code is available under the MIT License.

About

JavaTicTacToe is a simple, text-based implementation of the Classic Tic-Tac-Toe Game. Players take turns placing X and O marks on a 3x3 grid. The game checks for wins in rows, columns, and diagonals, and continues until one player wins or the board is full, resulting in a draw.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages