bishbosh-0.0.0.1: Plays chess.

Safe HaskellNone
LanguageHaskell2010

BishBosh.Model.DrawReason

Contents

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

Constants

maximumConsecutiveRepeatablePlies :: NMoves Source #

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

maximumConsecutiveRepeatablePositions :: NMoves Source #

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

range :: [DrawReason] Source #

The constant range of possible values.