This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

trash1000
trash1000 presents ...

2010/7/4

jBoxx

Sokoban, a classic game from 1981.
The main principle is easy, just go around through the warehouse and push all the boxes to the destinated points. It doesn't matter which box you put on which point, though sometimes there's only one way to solve the level.
To walk use the arrow keys on your keyboard. To move a box simply stand next to one and then move it pressing the arrow key.
You can restart the level by clicking on the refresh-Symbol in the bar below and go back to the menu by clicking on the back arrow.
Currently 100 levels are implemented using the file format microban (reading out the level structure from txt-files). Thanks to all the guys who created the levels presented on this page: http://sneezingtiger.com/sokoban/levels.html

Actually you can save your progress and start from there later on, but that isn't working online since I don't have the necessary permissions to write the serialized objects on the server (you would all play the same savegame like that) or on your own hard disk. Works fine offline, though.

The name jBoxx comes from me knowing Sokoban through playing the gameboy game Boxxle.
I'm learning Java since one year. Will give out the source if you're interested.

Now have fun and tell me what you think!

Update: Implemented online saving using the new UserInfo class of Greenfoot 2.2.0. Offline saving will still work using serialization. Have fun!

5629 views / 10 in the last 7 days

3 votes | 0 in the last 7 days

Tags: game strategy sokoban boxxle thinking

Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Mon Apr 30 20:31:10 UTC 2012 Added 50 new levels
A new version of this scenario was uploaded on Tue May 01 12:38:32 UTC 2012 Bug fix.
A new version of this scenario was uploaded on Tue May 01 12:45:14 UTC 2012 Another bug fix.
A new version of this scenario was uploaded on Tue May 01 12:47:18 UTC 2012 Another bug fix.
A new version of this scenario was uploaded on Tue May 01 12:48:50 UTC 2012 Another bug fix.
martijn13039martijn13039

2012/5/29

nice game!!!
martijn13039martijn13039

2012/5/29

trash1000 if I click on great own nothing happen, maby a bug or something like that?
trash1000trash1000

2012/5/29

No, it's not a bug. It's just a feature I planned to implement but I just did not do so yet.
martijn13039martijn13039

2012/5/30

oke thx for the answer
A new version of this scenario was uploaded on Tue Feb 26 15:00:31 UTC 2013 Several improvements to the code.

See all comments

Want to leave a comment? You must first log in.

Who likes this?

Rexshine nightwingx13 Andres