bishbosh-0.0.0.2: Plays chess.

Safe HaskellNone
LanguageHaskell2010

BishBosh.Notation.ICCFNumeric

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
https://en.wikipedia.org/wiki/ICCF_numeric_notation.

Synopsis

Types

Data-types

data ICCFNumeric x y Source #

Defines a move, to enable io in ICCF Numeric/-notation.

Instances

Constants

origin :: (Int, Int) Source #

The origin.

regexSyntax :: String Source #

Defines using a regex, the required syntax.

toRank :: [(Int, Rank)] Source #

Constant translation from integral promotion-specifications to the corresponding rank.

Functions

showsCoordinates :: (Enum x, Enum y) => Coordinates x y -> ShowS Source #

Shows the specified coordinates.

Constructors

mkICCFNumeric :: Move x y -> Maybe Rank -> ICCFNumeric x y Source #

Smart constructor.

mkICCFNumeric' :: Promotable promotable => Move x y -> promotable -> ICCFNumeric x y Source #

Smart constructor.