Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dikshitadas/tictactoe
https://github.com/dikshitadas/tictactoe
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dikshitadas/tictactoe
- Owner: DikshitaDas
- Created: 2024-06-25T15:36:15.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-26T17:03:34.000Z (7 months ago)
- Last Synced: 2024-06-26T20:56:56.846Z (7 months ago)
- Language: Java
- Size: 3.91 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.
![Java](https://img.shields.io/badge/Java-%23ED8B00.svg?&style=flat&logo=java&logoColor=white)
![Swing](https://img.shields.io/badge/Swing-Framework-orange?style=flat)
## âšī¸ 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** | ![Java](https://img.shields.io/badge/Java-%23ED8B00.svg?&style=flat&logo=java&logoColor=white) |
| **Swing** | ![Swing](https://img.shields.io/badge/Swing-Framework-orange?style=flat) |## đ¤ 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. đ