Multiplayer-tictactoe
A simple real-time multiplayer Tic-Tac-Toe game with WebSocket-based communication.
How it works
1. Player creates or joins a room via a 4-letter code
2. Server hosts a state machine (lobby → game → game_over → lobby)
3. Moves are sent as JSON over WebSocket (player_action with position)
4. Server validates each move against the engine; invalid moves return an error
5. On disconnect, opponent is shown as offline and can continue playing if it's their turn
| Status | Prototype |
| Platforms | HTML5 |
| Author | multiserver |
| Genre | Puzzle |
| Tags | Multiplayer, Two Player |
| Average session | A few seconds |
| Languages | English |
| Inputs | Mouse, Touchscreen, Smartphone |
| AI Disclosure | AI Assisted, Code, Graphics, Text |

Leave a comment
Log in with itch.io to leave a comment.