Skip to content

Tic-Tac-Toe (3x3) game built in Java. This project runs in the console and allows two players to play alternately until one wins or the game ends in a draw. It showcases Java fundamentals like condition checking, arrays, and user input handling.

Notifications You must be signed in to change notification settings

Charanmareddy/Tic-Tac-Toe-using-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

🎮 TicTacToe Game in Java

A simple console-based Tic-Tac-Toe game written in Java.
This project allows two players to play alternately until one wins or the game ends in a draw.


✨ Features

  • Two-player mode
  • 3x3 board layout
  • Input validation (prevents overwriting cells or invalid numbers)
  • Detects winners and draws
  • Beginner-friendly Java code

🛠️ How to Run

  1. Clone this repository:

(https://github.com/Charanmareddy/Tic-Tac-Toe-using-java.git)

About

Tic-Tac-Toe (3x3) game built in Java. This project runs in the console and allows two players to play alternately until one wins or the game ends in a draw. It showcases Java fundamentals like condition checking, arrays, and user input handling.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages