On the Subject of Horsey

Yes, it’s another Chess module.

On the module, there’s a chess puzzle shown. The defuser has to make the best possible moves in order to solve the module (the puzzles might not go until checkmate).

Basic Chess rules

Chess is a board game for 2 players consisting of a board with a 8×8 grid of cells and 6 different kinds of pieces (Pawn, Rook, Knight, Bishop, Queen, King) with dark or light colors in respect to the player they belong to. Each kind of piece has a different moveset and can capture a piece of the different color if collides with it. The goal is for the player to protect their king whilst trying to checkmate the other player’s king (putting it in a position where it’s impossible to defend it). When their king is in check (could be captured by the other player), they have to defend it in their turn by either moving it, taking down the piece that could capture it, or blocking the other player’s piece’s way with another piece. The player who gets checkmated loses.

Pieces
Piece Name Moveset
Pawn Moves one space forward (upwards) relative to the player’s position, unless it’s the pawn’s first move in which case it can move 2 spaces forward. Can only capture pieces on a diagonal forward (TL, TR).*
Rook Moves any number of spaces in any direction on either axis (not diagonally) until collides with another piece.
Knight Moves 2 spaces on one axis and another space on the other one (not diagonally) in any direction.
Bishop Moves any number of spaces in any direction diagonally until collides with another piece.
Queen Moves any number of spaces in any direction until collides with another piece.
King Moves 1 space in any direction.*

*Special moves

Movement name Done by... Description
Promotion Pawn When a pawn reaches the top-most row relative to the player’s location, as it can’t move any further, it can be promoted to either a rook, a queen, a bishop or a knight.
Castling King

When the king and a rook (either side) are both on their default locations and haven’t moved in the game, (bottom-most row, rook on the edge, king in the middle on the tile of the other color) and they have no pieces between them, the king can move 2 spaces in the rook’s direction, and the rook moves to the space next to the king on the other side.


Additional rules:
  • The king must not be in check nor ends up in check when performing a castling.
  • The king must not pass any spaces where he’s in check.
En passant Pawn When a pawn performs its first move and moves 2 spaces, a pawn of the opponent on the space next to it (X-axis) can move to the space behind it, capturing the pawn. This move can only be made in the turn right after the pawn made its 2-space move.