Skip to content

Saima223/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe Game

This is a command-line implementation of the classic Tic-Tac-Toe game, built using Java. The game allows a player to compete against an AI (Artificial Intelligence) opponent.

Features

  • Interactive command-line interface for gameplay
  • Player vs. AI mode
  • Validation of user input and available positions
  • Winning condition detection (row, column, or diagonal)

Prerequisites

  • Java Development Kit (JDK) installed on your system

Getting Started

  1. Download and install a Java IDE: Popular options include IntelliJ IDEA or Eclipse.
  2. Clone the repository: Use git clone https://github.com/Saima223/TicTacToe.git to download the project files.
  3. Run the application:
    • Open a terminal or command prompt and navigate to the project directory (cd TicTacToe).
    • Compile the code using javac TicTacToe.java.
    • Run the compiled application using java TicTacToe.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

About

Simple tic tac toe game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages