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.Knight

Description

Implementation of the movement rule for knights, according to the standard rulebook.

Synopsis

Documentation

movements :: PlacedPiece Knight' -> Board -> [Command] Source #

Determines all possible movements (including captures) for a given knight.