https://github.com/athrvk/tic-tac-two
A modern twist on the classic Tic-Tac-Toe game with enhanced gameplay and strategies.
https://github.com/athrvk/tic-tac-two
game java react tic-tac-toe websocket
Last synced: about 2 months ago
JSON representation
A modern twist on the classic Tic-Tac-Toe game with enhanced gameplay and strategies.
- Host: GitHub
- URL: https://github.com/athrvk/tic-tac-two
- Owner: athrvk
- Created: 2024-12-12T15:25:56.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-09-27T05:43:45.000Z (9 months ago)
- Last Synced: 2025-09-27T06:14:42.085Z (9 months ago)
- Topics: game, java, react, tic-tac-toe, websocket
- Language: Java
- Homepage: https://tic-tac-two.onrender.com
- Size: 250 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tic-Tac-Two
A modern twist on the classic Tic-Tac-Toe game, introducing new strategies and dynamic gameplay.
## 🕹️ Play Now
Try the game live at: [tic-tac-two.onrender.com](https://tic-tac-two.onrender.com)
## 🚀 Features
- **Modern Rules:** Experience new mechanics—only the last 6 moves remain on the board, creating unique strategies beyond classic Tic-Tac-Toe.
- **Multiplayer:** Play against another person locally, with automatic player symbol assignment.
- **Dynamic Gameplay:** As older moves disappear, plan ahead for a moving target!
- **Simple, Responsive UI:** Clean design, works great on desktop and mobile.
- **Open Source:** All code is available here—contributions and ideas are welcome!
## đź’ˇ What Makes It Unique?
- **Move History Constraint:** Only the 6 most recent moves are visible on the board. Older moves vanish, making each game unpredictable and requiring new tactics.
- **Session-based Player Assignment:** Each player is assigned X or O per session, ensuring fairness.
- **Modern Stack:** Java backend with a React-based frontend.
## 🛠️ Contributing
We welcome contributions of all kinds! You can help by:
- Enhancing or tweaking game mechanics
- Improving the interface and user experience
- Fixing bugs or adding tests
- Expanding documentation
**Note:**
The app is deployed on Render. For security and privacy, deployment credentials or access to the Render account will NOT be shared.
You are encouraged to fork this repository, run it locally, and submit pull requests. All proposed changes to the game logic, frontend, or backend are welcome!
### Getting Started Locally
1. **Clone the repo:**
```sh
git clone https://github.com/athrvk/tic-tac-two.git
cd tic-tac-two
```
2. **Backend (Java/Spring Boot):**
- Navigate to `backend/` and follow standard Spring Boot setup to run the server.
3. **Frontend (React):**
- Navigate to `frontend/` and run:
```sh
npm install
npm start
```
4. The app will be available at the default port (usually `localhost:3000` for frontend).
## đź“„ License
This project is open source, licensed under the MIT License.
See [LICENSE](LICENSE) for details.
---
Enjoy the game, and happy hacking!