Module

Amazons

Package
purescript-amazons
Repository
Forensor/purescript-amazons

#amazons Source

#fen Source

fen :: Game -> Fen

#getSqr Source

#legalMoves Source

#movesOfSqr Source

#loadPgn Source

#move Source

move :: Game -> San -> Game

#put Source

put :: Game -> Square -> San -> Game

#remove Source

remove :: Game -> San -> Game

#turn Source

turn :: Game -> Team

#takeback Source

#initFen Source

#validFen Source

#parse Source

#moveNumber Source

#Square Source

data Square

Constructors

Instances

#Team Source

data Team

Constructors

Instances

#Game Source

type Game = { board :: Board, history :: Array San, positions :: Array Fen }

#Board Source

#San Source

type San = String

#Fen Source

type Fen = String
Modules
Amazons