https://github.com/dikshitadas/tictactoe
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.
https://github.com/dikshitadas/tictactoe
awt awt-gui board-game java java-22 java-2d-game swing-components swing-gui tictactoe-game
Last synced: about 1 month ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/dikshitadas/tictactoe
- Owner: DikshitaDas
- Created: 2024-06-25T15:36:15.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-19T07:29:08.000Z (7 months ago)
- Last Synced: 2025-01-25T16:41:56.549Z (3 months ago)
- Topics: awt, awt-gui, board-game, java, java-22, java-2d-game, swing-components, swing-gui, tictactoe-game
- Language: Java
- Homepage:
- Size: 254 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# đŽ 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.


![]()
![]()
## âšī¸ 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
```bash
git clone https://github.com/DikshitaDas/TicTacToe.git
cd TicTacToe
```### 2. Compile and Run the Game
```bash
javac TicTacToe.java
java TicTacToe
```## đ Technologies Used
| Technology | Logo |
|-------------|------|
| **Java** |  |
| **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](LICENSE) file for more details. đ