Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 2.15 KB

README.md

File metadata and controls

57 lines (39 loc) · 2.15 KB

🎮 TicTacToe Game

A classic Tic-Tac-Toe game built with Java Swing, providing a fun and simple way to play the timeless game with a clean graphical interface.

Java Swing

ℹ️ About

A Tic-Tac-Toe game built using Java Swing, allowing two players to compete in this classic game, taking turns to place 'X' or 'O' on the board.

🚀 Features

  • ✖️ Two-player gameplay: Play as 'X' or 'O' with a friend.
  • 🎨 Graphical User Interface (GUI): Clean and interactive design using Java Swing.
  • 🧠 Win-checking logic: Automatically detects when a player wins or if the game results in a draw.
  • 🔄 Restart option: Reset the game board for a new match.

📦 Installation

1. Clone the Repository

git clone https://github.com/DikshitaDas/TicTacToe.git
cd TicTacToe

2. Compile and Run the Game

javac TicTacToe.java
java TicTacToe

🛠 Technologies Used

Technology Logo
Java Java
Swing Swing

🤝 Contributing

Contributions are welcome! Here's how you can contribute:

  1. Fork the repository 🍴
  2. Create a new branch (git checkout -b feature/amazing-feature) 🚧
  3. Commit your changes (git commit -m 'Add a new feature') 📝
  4. Push to the branch (git push origin feature/amazing-feature) 📤
  5. Open a pull request 📬

📄 License

This project is licensed under the MIT License. See the LICENSE file for more details. 📃