Every number below is computed by the same code the Chess Sim tools run. Install to get answers for your own deck.
White has 20 legal moves at the start: 16 pawn moves and 4 knight moves. After 1. e4, Black also has 20. chess_position_check lists the legal moves for any FEN or PGN.
Forsyth–Edwards Notation describes one position in a single line: piece placement, side to move, castling rights, en passant square and move counters. Example start position: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1. Paste a FEN into chess_position_check to validate it.
A four-move checkmate: 1. e4 e5 2. Bc4 Nc6 3. Qh5 Nf6?? 4. Qxf7#. The queen and bishop both hit f7, which only the king defends. chess_mate_search finds Qxf7# as mate in 1 from the position after 3...Nf6.
Paste your moves into chess_opening_lookup. It matches the position after each move against 3865 named lines (ECO codes A00–E99), so transpositions are recognized too. Example: 1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 is the Sicilian Defense: Najdorf Variation (B90).
Language models predict text, so they sometimes invent moves or lose track of the board. Connecting Chess Sim lets the assistant check every move against the rules (chess_position_check) and search for mates and tactics with real code instead of guessing.