halma-0.1.0.0: Library implementing Halma rules
Game.Halma.Board.Draw
Synopsis
defaultTeamColours :: Team -> Colour Double Source
drawBoard' :: Renderable (Path R2) b => HalmaGrid size -> ((Int, Int) -> Diagram b R2) -> QDiagram b R2 (Option (Last (Int, Int))) Source
Render the board using the helper function for drawing the fields. Supports querying for field positions.
drawBoard :: Renderable (Path R2) b => HalmaBoard size -> (Team -> Colour Double) -> QDiagram b R2 (Option (Last (Int, Int))) Source
Render the board using the given team colors. Supports querying for field positions.