A modern, web-based implementation of Ultimate Tic Tac Toe featuring a World Cup tournament engine, real-time WebRTC multiplayer, dynamic power-up decks, and slot allocation via an interactive wheel.
- 1v1 Local Hotseat: Two players take turns on the same screen.
- 1v1 Online Link (WebRTC): Direct peer-to-peer room connections generated via link sharing without backend server dependencies.
- 1v1 vs. AI Engine: Single-player challenge powered by an adaptive minimax decision engine.
- 2v2 Tag Team (4P): Four players paired in teams, rotating turns dynamically within active sub-boards.
- Tournament Bracket: A 16-player knockout tournament system featuring country slot assignments and queue enforcement.
Win 3 adjacent sub-boards in a row (horizontal, vertical, or diagonal) to capture the overall main board.
Your move dictates where your opponent must play next. For example, placing a token in cell #5 of any sub-board forces your opponent to make their next move inside Sub-Board #5.
| Power-Up | Icon | Function |
|---|---|---|
| Bomb | 💣 | Destroys any unshielded opponent token in the active sub-board. |
| Freeze | ❄️ | Locks the target sub-board, preventing moves for 1 turn. |
| Wild | 🌀 | Grants freedom to place a mark in ANY open sub-board. |
| Shield | 🛡️ | Places a token that is completely protected against bomb attacks. |
In Tournament Mode, slot distribution is handled via an interactive country selector:
- Players open the Slot Wheel interface.
- Spin the wheel to get assigned an open country or slot (e.g., Belgium, Brazil, Japan).
- The assigned slot is locked to prevent double-spinning, and the match bracket updates automatically.
Since this game is built as a self-contained single-page web application, no heavy installation or npm install is required!
-
Clone the repository:
git clone [https://github.com/Vimal9RAM-NAP/ultimate-tic-tac-toe.git](https://github.com/Vimal9RAM-NAP/ultimate-tic-tac-toe.git) cd ultimate-tic-tac-toe -
Run locally:
-
Open
index.htmldirectly in any web browser. -
Alternatively, run a local server for WebRTC multiplayer testing:
npx serve .
- Objective: Win 3 sub-boards in a row (horizontal, vertical, or diagonal) to win the main board.
- Movement Rule: The cell index you pick in an active sub-board dictates which sub-board your opponent is forced to play on next.
- Tournament Queue: In tournament mode, spin the wheel to claim your slot. Once assigned, wait for your bout to be active before entering the arena!
Developed by Odd Jobs Dev (Vimal Ram) for Itch.io.
Distributed under the MIT License. See LICENSE for more information.



