Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hubentu/tictactoe3
https://github.com/hubentu/tictactoe3
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/hubentu/tictactoe3
- Owner: hubentu
- Created: 2024-11-19T01:44:22.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-11-19T02:10:54.000Z (about 1 month ago)
- Last Synced: 2024-11-19T03:19:32.347Z (about 1 month ago)
- Language: TypeScript
- Homepage: https://tictactoe3-e3xn.onrender.com/
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Three-State Tic Tac Toe
A unique twist on the classic Tic Tac Toe game where players can not only place their marks but also neutralize their opponent's marks.
![Game Screenshot]()
## 🎮 Game Rules
### Basic Mechanics
- The game is played on a 3x3 grid
- Two players take turns: X and O
- The goal is to create a line of three of your marks (horizontally, vertically, or diagonally)### Unique Features
1. **Three States**: Each cell can be in one of three states:
- X (Player X's mark)
- O (Player O's mark)
- | (Empty/Neutral state)2. **Special Moves**:
- Player X can:
- Place X on an empty cell (|)
- Neutralize an O back to |
- Player O can:
- Place O on an empty cell (|)
- Neutralize an X back to |### Winning Conditions
- Create a line of three of your marks (X or O)
- The game ends in a draw if no player achieves this## 🤖 AI Opponent
The game features an intelligent robot opponent that:
- Uses minimax algorithm with alpha-beta pruning
- Implements strategic position evaluation
- Can both place marks and neutralize opponent's marks
- Adapts its strategy based on the game state