How to play
Take turns dropping discs from the top; each one falls to the lowest open slot in its column. First to line up four in any direction — across, down or diagonal — wins.
Mouse — click a column to drop your disc.
Integration notes
A zero-dependency Canvas build whose AI logic is easy to swap out for something stronger. Bolt on WebSocket and it becomes online versus play — a low-cost springboard from single-player to multiplayer.
FAQ
Is Connect Four free to play?
Yes. Connect Four is completely free, runs in your browser, and needs no install or account.
Is Connect Four open source?
Yes. It hosts the original open-source code by kenrick95, released under MIT. Source: https://github.com/kenrick95/c4
How do you play Connect Four?
Mouse — click a column to drop your disc.
More like this
▶ Playable penpa-edit
An online editor and solver for Sudoku and a huge range of variant puzzles — a staple in puzzle circles.
▶ Playable Emoji Minesweeper
Minesweeper with emoji standing in for mines — a few hundred lines of code, fun straight out of the box.
▶ Playable Hextris
Hexagon-flavored arcade puzzler: spin a central hex to stack and clear incoming colored blocks.