mwg API
    Preparing search index...

    Type Alias ChessSide

    ChessSide: "white" | "black"

    Chess: legal-move rules, no opponent.

    Two players across one screen, or puzzles with known solutions, is what this covers: a position, every legal move in it, and whether it ends the game. An AI that picks one is a separate, much larger question and lives nowhere here. Draws by fifty moves, repetition or dead material are not detected either - claims, not rules of movement, and a minigame ends on mate or stalemate.