halma-0.3.0.0: Library implementing Halma rules

Safe HaskellNone
LanguageHaskell2010

Game.Halma.Rules

Synopsis

Documentation

possibleMoves :: RuleOptions -> HalmaBoard -> (Int, Int) -> [(Int, Int)] Source #

Computes all possible moves for a piece.

hasFinished :: HalmaBoard -> Team -> Bool Source #

Has a team all of it's pieces in the end zone?