Place a disc on the green felt so that one or more of your opponent's discs lie in an unbroken straight line (horizontal, vertical, or diagonal) between the new disc and another of your own discs. All sandwiched discs flip to your color.
The player with the most discs when the board fills (or both players have no legal moves) wins.
Black moves first. Translucent ghost discs show your legal moves.
Press P to pause, Esc to resume, R to restart.
AI Difficulty
Easy: Picks a random legal move. Friendly warm-up opponent.
Medium: Greedy — always picks the move that flips the most discs right now.
Hard: 4-ply minimax with positional weights. Values corners, avoids X-squares near corners.
Pro: 6-ply minimax with alpha-beta pruning + transposition table. Very tough to beat.
Scoring
Your win streak (consecutive wins vs AI) is your leaderboard score. A loss or draw resets it.
Only wins as Black against the AI count for the streak.