Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data MoveRestriction
- data RuleOptions = RuleOptions {}
- possibleMoves :: RuleOptions -> HalmaBoard size -> (Int, Int) -> [(Int, Int)]
- hasFinished :: HalmaBoard size -> Team -> Bool
Documentation
data RuleOptions Source
RuleOptions | |
|
possibleMoves :: RuleOptions -> HalmaBoard size -> (Int, Int) -> [(Int, Int)] Source
Computes all possible moves for a piece.
hasFinished :: HalmaBoard size -> Team -> Bool Source
Has a team all of it's pieces in the end zone?