Gameplay
Two players, any board size, any win length, in real time.
Online multiplayer gameplay
Game two, now with humans.
- What
- Connect 4 where board size and win length are both settings, played online in a shared room or locally on one screen.
- Stack
- JavaScript and Canvas in the browser; Node, Express and Socket.io on the server.
- Server-validated moves
- A move is checked first — right turn, valid column, game still active — then broadcast to both players.
- No database
- Rooms live in memory and clean themselves up when players disconnect.