Online sokoban game

broken image
broken image

I am hard pressed to think of other printable games. At any moment in gameplay you can grab a hardcopy of your status and frame it. This also means that the game is printable. You can disable the styles if you desire to play the levels in pure ASCII. The symbols are image-replaced with CSS when the level is live, but the whole thing works without CSS. If you don't have JavaScript you can still read the level codes, which are normally written in a standard like this: # The script runs through marked items on the webpage and makes valid Sokoban levels playable. The first is that the game uses progressive enhancement methodology. There are a few characteristics that make this implementation interesting. The whole thing is about 300 lines of mostly uncommented code running on top of jQuery - well, actually as a jQuery plugin. I wrote the bulk of it in about an evening, and spent a few more evenings applying spit and polish until I was satisfied that it worked the way I wanted. Originally a Windows application, I though it could be fun to try to remake it in JavaScript. In my case I start to rummage frenetically though old projects to see if there is anything I can finish, polish, or do something with that doesn't require internet access. Go straight to page navigationĪ few days without internet do strange things to a computer addict.

broken image