bishbosh-0.0.0.3: Plays chess.

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.

# Types

## Data-types

The ways in which a game can be drawn.

Instances

 Source # Methods Source # Methods Source # MethodsshowList :: [DrawReason] -> ShowS # Source # Methodsrnf :: DrawReason -> () #

# Constants

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

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

Constant.

Constant.

Constant.

Constant.

Constant.

The constant range of possible values.