bishbosh-0.1.3.0: Plays chess.
Safe HaskellNone
LanguageHaskell2010

BishBosh.Notation.Figurine

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Defines the translation between pieces & Unicode figurines; https://en.wikipedia.org/wiki/Chess_symbols_in_Unicode.
Synopsis

Types

Type-synonyms

Constants

Functions

toFigurine :: Piece -> Figurine Source #

Returns the Unicode-character for the specified piece.

fromFigurine :: Figurine -> Maybe Piece Source #

Returns any piece which corresponds to the specified Unicode character.