Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Tic-Tac-Toe (Java Console Game)

A simple Java console-based Tic-Tac-Toe game for two players. Features real-time grid display, win detection across rows, columns, and diagonals, and input validation for moves.

๐ŸŽฎ Features

  • 3x3 interactive grid.
  • Two-player gameplay (X and O).
  • Win detection for rows, columns, and diagonals.
  • Invalid move detection.
  • Displays the game board after each turn.

๐Ÿ›  Requirements

  • Java JDK 8 or later
  • Command-line interface or VS Code/IntelliJ

๐Ÿš€ How to Run

  1. Clone this repository:
    git clone https://github.com/yourusername/tictactoe-java.git

About

A simple Java console-based Tic-Tac-Toe game for two players. Features real-time grid display, win detection across rows, columns, and diagonals, and input validation for moves.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages