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

Description

Implementation of the check rule, according to the standard rulebook.

Synopsis

Documentation

checked :: Player -> Board -> Bool Source #

Returns true if the specified player is currently checked, according to the standard rulebook.