Checkers

Public domain classic

The classic diagonal capture game. Beat the computer.

Checkers

At a glance

Rules
English draughts on an 8 by 8 board, 12 pieces a side. You play red from the bottom, the computer plays black
First move
Yours
Difficulty
Easy, Normal and Hard, each searching further ahead
Controls
Tap or click a red piece, then a glowing dot. A double jump takes one tap per landing square. Esc pauses
Score
A win scores 100 plus the red pieces you still have. A loss scores just those pieces
Saves
Your best score, in this browser only
Cost
Free, no account

How this checkers plays

  • Pieces move one square diagonally. An ordinary piece, a man, only moves forward. A king moves one square in any diagonal direction: kings here do not fly across the board.
  • Capturing is compulsory. If any of your pieces can jump, only jumps are allowed, and only the pieces that can jump will move.
  • A man only jumps forward. A king jumps both ways.
  • A jump carries on while the landing square offers another jump, and you cannot stop half way. When there are several capture routes, though, you may pick any of them, including a shorter one.
  • A man that reaches the far row is crowned and marked K. If that happens during a jump, the move ends there, even if a king could have jumped again.
  • The side to move with no legal move loses, whether it has no pieces left or every piece is blocked.
  • There is no draw rule.

How the computer plays

  • It searches ahead with minimax and alpha-beta pruning. Counting its own move, Easy looks 2 moves deep, Normal 4 and Hard 5.
  • At the end of a line it counts material: 100 for a man, 180 for a king, plus a small bonus of up to 2.5 for a piece near the middle columns.
  • There is no randomness. The same position always gets the same reply at the same level.
  • It waits 0.4 seconds before moving.

In the rule test the three levels were given the same 120 positions. Easy and Normal picked different moves in 58 of them, and Normal and Hard in 41. Playing against random legal moves, the computer won all 40 test games at each level, and none reached the 300-move cap.

Tips that follow from the rules

  • Check what you hand over. A red piece diagonally in front of a black man, or beside a black king, with the square beyond it empty, gives the computer a jump. When it has a jump it must take one, so look at what each possible jump would cost you before you move.
  • Men cannot capture backwards. A black man that has got past one of your men is safe from it. Only a king can turn round and take it.
  • Choose your capture route. When two jumps are on offer you do not have to take the longest, so pick the one that leaves your piece safest.
  • Crowning stops a jump. A man that lands on the back row mid-capture stops there, so count on the extra jump only for pieces that are already kings.

For a board game where every move flips pieces instead of removing them, try Reversi.

Known limits

  • No undo.
  • No draw rule. If neither side can win, start a new game.
  • No keyboard play: you need a mouse or touch.
  • When a capture is forced, only a piece that can jump shows glowing dots when tapped, and nothing marks which piece that is until you try it.
  • Changing the difficulty mid-game starts a new game.
  • On a 390 by 844 screen each square is 41 pixels across, and the cookie banner covers the Play button until you answer it.
  • At 1280 by 720 the game frame is 848 pixels tall, so the bottom of the board can sit below the window.
  • Going to another tab pauses the game.
  • Your best score is lost when storage is blocked.

How it was built and checked

AI tool
Codex
First committed
2026-10-14, in a batch of 10 classic games
Size
One HTML file of 160 lines, no game libraries
Rounds of changes
1, from the build record
Checked at build
A syntax check and three targeted rule checks: the 7 opening moves, a forced double jump, and crowning ending the move. The build report lists browser rendering, touch devices and how hard the computer feels as not verified
Checked since
2026-11-11: a new rule test (11,006 checks covering moves, forced and chained captures, crowning, wins by capture and by blocking, a loss, the three levels on 120 positions, 120 games against random play, and taps through the real pointer code), and an automated browser check of the local build at 1280 by 720 and 390 by 844. Each time it started a game, tapped a piece and then its square, waited for the computer to reply, set up a last capture, won by tapping it, and started again
Played on a phone
2026-11-11, a full game on a real phone before this page went live

Embed Checkers on your site

Free to embed. Please keep the credit link.

<div style="position:relative;padding-top:75%;max-width:640px"><iframe src="https://aivibecodedgames.com/games/checkers/" title="Checkers (free browser game)" style="position:absolute;inset:0;width:100%;height:100%;border:0" loading="lazy" allow="fullscreen" allowfullscreen></iframe></div>
<p><a href="https://aivibecodedgames.com/play/checkers/">Play Checkers free</a> on AI Vibe Coded Games</p>

How it was vibe coded

ToolCodex
Rounds of changes: 1
First committed2026-10-14

The opening prompt

Make English draughts (checkers) on an 8x8 board, you play red against a computer opponent playing black. Full rules: diagonal moves, compulsory captures with multi-jumps, kings, win by capturing or blocking all enemy pieces. Highlight legal moves. Computer uses minimax depth 4 with alpha-beta, with an Easy and Hard toggle (depth 2 and 5). Draw canvas boards, no images. New game button.

Game controls

  • Tap or click a piece, then a highlighted square
  • Captures are compulsory

The game brief includes touch controls for phones.

Open the game on its own

More games