Sokoban

Here is my version 1.4 of an absolute classic. It took about a day to write, and weeks to ensure all the levels worked! I've included compression (the levels are compressed from 320 bytes to an average of just 70 bytes), I've streamlined the code as much as possible saving several K', and above all, I've kept it nice and simple to keep it as small as possible (less than 30K) so it will download faster. However if you have any sugestions just let me know. I'd be especially gratefull for aditional levels.

The aim of the game is to push all of the boxes onto the exits. Simple........... The problem is that you can only push the blocks, not pull them, not to mention the fact that you can only push one block at a time, and then there are the walls which have a nasty habit of being in the most awkward of places. Anyway, the levels are all possible, and it's good fun even if you do loose some sleep over it. To make life a little easier, there is a key that will allow you to skip to the next level.

I would like to thank Yoshio Murase who designed levels 99 to 190, which are included here with his kind permission. Copyright of these levels remains his. The original levels can be found at http://www.ne.jp/asahi/ai/yoshio/sokoban/index.html

If sokoban doesn't seem to respond, then try left clicking anywhere on it.

Here is the class file, a readme file, and a level editor all zipped up. Click here to download (only 23K).

Back to my HomePage.

Last updated 26th October 2005