← home

foray

ten chess puzzles · one idea each
Mission

How to play

Tap or click one of your pieces, then a dotted square (a dashed ring means a capture). You play the side shown under the board; the page plays the defender and always picks its most stubborn reply. These are short tactical positions, not full games. Standard chess rules apply, including check, castling, en passant and promotion.

Move limits count only your moves. “Mate in 2” means checkmate on your second move whatever the defender does. A ◆ and dashed border mark the target piece, and the marker follows it if it moves. Capture means taking that piece within the limit, even if it is recaptured afterwards. Win also guarantees at least the stated material gain after the defender’s best reply and recapture (pawn 1, knight/bishop 3, rook 5, queen 9).

Every move that still forces the mission is accepted. A legal move that lets the defender off the hook is shown as a miss and not played. Undo takes back your whole turn (your move and the reply), as often as you like; Reset restarts the puzzle. Hints go from the idea, to the piece, to the move.

Keyboard: Tab to the board, arrows to move around, Enter or Space to pick a piece and a square, Escape to deselect, U to undo and R to reset. Progress is saved on this device when storage is available. Everything works offline.

Credits & licenses

All ten positions come from the Lichess open puzzle database, released under CC0 1.0 Universal (legal text). Individual authors are not supplied, and no endorsement is implied. Each position is the source FEN after the source’s first (setup) move; missions, move limits, accepted alternatives and defender replies are re-derived by Foray’s own exhaustive search, and the titles, hints and explanations were written for Foray.

Rules use chess.js 0.10.3 by Jeff Hlywa, under the BSD 2-Clause license. The bundled copy exposes legal-move hooks for local verification. No remote engine or network request is used.

Chess.js copyright & full license
Copyright (c) 2020, Jeff Hlywa (jhlywa@gmail.com)
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
   this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

Every mission is proved against every defence.

Promote your pawn to…