Skip to content

tomisalomaa/haskell_sokoban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sokoban


Rules

You are the warehouse man! Move crates to storages by pushing them around. Try not to get stuck.

Instructions

Start game

The game initializes by executing the game.exe. Exe can be found from the sokoban folder.

Controls

The game uses WASD control scheme to move the player worker around the level:

w -- Up
a -- Left
s -- Down
d -- Right

NOTE: Due to a bug affecting the game when played on Windows os, each input needs to be "confirmed" by entering the line in cmd console. Linux os should not suffer from such a bug and each input characted should be read as soon as struck on the console.

Legend

Character Represents
@ Player
o Crate
# Wall
Floor / open space
. Storage
* A stored crate / crate inside a storage
+ Player on a storage

State of the game / additional info

The current version of the game only includes one hard coded level. The game ends as soon as all crates have been stored. If you find yourself stuck, not being able to complete the level, there is currently no functionality available to restart the level --> close and start the game again
input 'r' to reload the current level if you wish to replay. This can also be used in case one wants to replay the level after completing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published