A project for a Haskell course at MiMUW.
A terminal sokoban game.
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
ghc main.hs
./main
Game start / go to the next level: Space
Player movement: WASD
Undo: U
Skip to the next level: N
Game reset: Esc
' ' - blank
'.' - ground
'#' - wall
'x' - storage
'o' - box
'^' / '<' / 'v' / '>' - player
#########
###.....#
##xxo...#
##.x#^..#
###.o..##
##.#o...#
##...o..#
##xx..o.#
#########