chessica-0.1.0.0: A Library for Chess Game Logic
Copyright(c) Michael Szvetits 2023
LicenseBSD-3-Clause (see the file LICENSE)
Maintainertypedbyte@qualified.name
Stabilitystable
Portabilityportable
Safe HaskellSafe-Inferred
LanguageGHC2021

Chess.Rulebook.Standard.Movement

Description

Implementation of the movement rules, according to the standard rulebook.

Synopsis

Documentation

movements :: PlacedPiece t -> Game -> [Command] Source #

Determines all possible movements (including captures and promotions) for a given chess piece.