bishbosh-0.0.0.3: Plays chess.

Safe HaskellNone
LanguageHaskell2010

BishBosh.State.EnPassantAbscissa

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Defines the file on which an En-passant option currently exists.

Synopsis

Types

Data-types

Functions

Constructor

mkMaybeEnPassantAbscissa Source #

Arguments

:: (Enum x, Enum y, Ord x, Ord y) 
=> LogicalColour

The player who moves next, & who may have an En-passant option.

-> MaybePieceByCoordinates x y 
-> Turn x y

The last turn taken.

-> Maybe (EnPassantAbscissa x) 

Constructor.