8/9/2004: 6/9/2004:

I was convinced by others that sokoban is needed for Plan 9. It didn't take long -- 4 hours to modify the maze code and to convert a set of 120 levels.




sokoban for plan9


You are guiding Glenda, the Plan 9 Bunny, through a room full of walls, pebbles and holes to put the pebbles in. Your goal is to arrange all pebbles into holes by pushing them around, but you can only push a pebble if there is no wall or another pebble stopping it.

There are two sets of levels with varying degree of difficulty and more than 200 distinct "rooms". has many more levels. Give a file name as an argument and change the level set completely.


Arrow keys move Glenda up-down-left-right. 'N' and 'P' switch between the next and previous levels, 'R' restarts the current level. Del and 'q' quit.

Glenda also responds to mouse clicks in the squares next to her (originally done by Takashi).

The right mouse button invokes a menu where you can choose to restart a level after you've reached a dead-end or load different level sets.

The middle mouse button lets you change between levels.


The game does not install itself anywhere -- play from the current directory (I can put the images and levels in /sys/games/lib/sokoban sometime in the future, if people turn out to like it).

Last Modified: September 06, 2004
mirtchovski at gmail