Skip to content
/ sokoban Public

Implementation of Sokoban in Haskell with GTK2HS

License

Notifications You must be signed in to change notification settings

kmein/sokoban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sokoban

Note: This version of Sokoban in Haskell is a rewrite of Johannes Ahlmann's. The algorithms are basically the same, but different design decisions have been made in respect to data types and some minor algorithms in helper functions. Furthermore, the overall architecture has been moved over to stack. Therefore, one can just run stack build and be up and running (speaking of running: stack exec sokoban-exe runs the executable).

Also, the image files from the original repo have been renamed in the restructuring process.

The original idea came from Ruby Quiz #5 – Sokoban. And the recorded live coding session of the original code can be found at Haskell Uncut.

How to play

  • move the character and crates using the arrow keys
  • undo your move with u
  • reset the level with r
  • quit the game with q

About

Implementation of Sokoban in Haskell with GTK2HS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published