bishbosh-0.1.3.0: Plays chess.
Safe HaskellNone
LanguageHaskell2010

BishBosh.Rule.DrawReason

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
  • Itemises the ways in which a game may be declared a draw.
  • Each reason corresponds to a rule in chess.
Synopsis

Types

Data-types

data DrawReason Source #

The sum-type of ways in which a game can be drawn.

Constants

maximumConsecutiveRepeatablePlies :: NPlies Source #

The number of consecutive plies required to trigger a draw by the seventy-five move rule.

maximumConsecutiveRepeatablePositions :: NPositions Source #

The number of consecutive repeatable positions required for a draw by the five-fold repetition rule.