A Haskell implementation of the snakes and ladders board game with an associated GUI.
This game can be played interactively where each person picks a player and rolls the dice on their turn!
- If it is your turn, press the "Press to Roll" button to start the game. The first square of the board will be red to indicate that both players are currently at the first position.
- Pressing the "Press to Roll" button will generate a number of steps to be taken by the current player (in the range of 1 to 6 such as with normal dice).
- If the steps lead the player to a cell with a green upper right side, this indicates they can advance to the cell with the same number! (For example, if the green number says 10, player advances to cell 10). These numbers represent ladders.
- If the steps lead the player with an red upper right side, that indicates that they must retreat to the cell number indicated. These numbers represent snakes.
- Finally, if the player advances to a cell with an empty upper right side, no action is taken and the turn is passed on to the next player.
- Should the players ever wish to restart the game, they can simply press the reset button and the game will be back to its starting state.
If a player wins, they are announced as the winner of the game!
- This Haskell implementation of Minesweeper
- This Haskell implementation of the ConnectFour game
- This article by Andrew Gibiansky
All sources of reference and inspiration found here.
- Install Haskell and cabal.
- Clone and cd into this repository.
- Run
cabal runfrom your terminal!

