Endgame
play it out to mate
Take the #1 spot
- #1 🦓 you 🦓
play it out to mate
Take the #1 spot
A real endgame from a real game, material level: find the winning plan and checkmate the computer in the fewest moves. Same position for everyone, new one at midnight London time.
Back to all chess gamesEvery day one endgame from a real game: material is level, but White has a winning idea. You play White against the computer, and the fewer moves you need to checkmate it, the better your score. Everyone in the world gets the same position and the same opponent each day, so the leaderboard compares like with like.
Tap a piece, then tap the square you want it to go to. Legal squares light up when a piece is selected, so you cannot make an illegal move. The computer thinks for a moment and answers. Your move count is shown above the board throughout, and the game ends at checkmate, stalemate, a draw by repetition or the fifty-move rule, when you give up, after eighty of your moves without a mate, or as soon as you no longer have enough material to checkmate at all. The final position stays on the board for a moment with the reason, then your result appears.
A checkmate ranks by how many moves it took, fewest first. If the computer mates you, or the game is drawn, or you give up, the day’s attempt is over and you rank behind every player who mated, shown with a dash instead of a move count. You get one ranked attempt a day, the daily leaderboard shows the top five, and after that you can keep playing practice positions without limit.
From the Lichess puzzle database, which is free and public (CC0): endgame positions from games played on Lichess, from puzzles rated 1500 or more. Material is level at the start, there are at most ten pieces on the board, kings included, and White has at most three pawns. You always play White; where Black had the winning idea in the real game, the board is mirrored and the colors swapped. No more than two positions share the same material.
The computer is Lozza, an open-source chess engine written in JavaScript, running in your own browser rather than on a server. It searches to a fixed depth on every move, starts each search with a clear memory and never uses a clock, which is what makes it the same opponent for everyone: given the same position and the same moves from you, it always answers the same way, on any phone or computer. It defends stubbornly, but it is held to that fixed depth instead of playing at full strength, so the position is winnable with care.
Each position was played out two or three times by the engine against itself, with White searching to a different depth each time, and kept only if White mated in every one of those games, each time within twenty-five moves. So every position is a win, but the computer defends, and the winning plan still has to be found.
Look for the idea first. The position comes from a puzzle, so there is usually one strong move at the start: a check, a capture or a fork that wins material. After that, use the extra material, bring your king up, and drive the enemy king to the edge.
At midnight London time a new position arrives with a fresh leaderboard, and everyone in the world gets the same one. Free, no account, no ads.
Want the same opponent with only pawns? Try Horde. For something short, Mate in One has three one-move checkmates against the clock. Or see all chess games.
The chess pieces are Chessnut by Alexis Luengas (Apache 2.0), with the bishop and the king from the cburnett set by Colin M.L. Burnett (BSD), slightly altered. The engine is Lozza by Colin Jenkins, free to use under its author’s license.