raphnet.net banner

SKBN: A Sokoban clone for the Sega Master System

Buy Me a Coffee at ko-fi.com
Contents: Introduction | Screenshots | Download | Thanks


écran titre, version 1.4
Yes, yes, another Sokoban clone.. But this one has lost its vowels ;-)

SKBN is a sokoban clone called SKBN. The 128kB ROM contains the 1043 levels of the Microban and Sasquatch level sets created by David W. Skinner.

In this project, I focused mostly on making sure that all levels of those sets would be playable, even large ones.

To achieve this, the engine supports different tile sizes: 24x24, 16x16, 12x12, 8x8 and 4x4. The 12x12 engine was the most challenging, as the two grids of 8x8 tiles (native) and 12x12 tiles (virtual) create interesting complications, combining vertical and/or horizontal splits. The required tiles are built on-the-fly while displaying and playing the level.

The 4x4 engine is useful for previews, but also for very large levels. But those may not be very playable unless you use an emulator or an RGB-connected display.

The in-game menu has options to undo a move or the last push. The history can hold 1000 moves.

Of course, solving more than 1000 levels in one session is unthinkable (probably) so the completion status of the levels is saved in SRAM, or directly on flash, if the game is running on a compatible cartridge such as those I designed...

I programmed this game for the smspower.org 2021 coding competition. Here is the forum topic for this entry.

goto top


Level sets In-game menu 12x12 mode 16x16 mode 8x8 mode 8x8 mode Preview Preview Preview Well done

goto top


Version 1.4
May 21, 2021 (Friday)
Correct the spelling of 'Dimitri & Yorick'
skbn-v1.4.zip (125.2 KB)
Show previous releases...
Version 1.3
March 31, 2021 (Wednesday)
  • Add a 'Well Done' message when solving a level
  • Fix a bug where the player could move in diagonal, and undoing the last move would then remove a wall block and add a new box to the level!
  • Move the Level number in the status bar one column to the right to avoid displaying text in the first column.
  • Small tweaks to the tile screen (sharper box corner, black countour)
skbn-v1.3.zip (125.2 KB)
Version 1.2
March 30, 2021 (Tuesday)
  • Added a 24x24 tiles mode.
  • Boxes now move smoothly, in-sync with the player when pushed. (instead of teleporting).
  • Reworked the player artwork and other small cosmetic details.
  • Correct a bug which caused unsolved levels to show as solved in the menu when scrolling.
  • Display 'player on target' correctly during previews.
skbn-v1.2.zip (121.4 KB)
Version 1.1
March 29, 2021 (Monday)
  • Add a short 'end level' jingle.
  • Add 'Dimitri & Yorick' and 'Sokogen-990602' level sets by Jacques Duthen (Easy levels)
  • Fixed the 'parallax' effect at the end of a level (was not well controlled and jittery on real hardware).
  • Correct initial player position (was not centered until first movement)
  • Fine tune player sprite position in 12x12 tiles levels (was a bit too low)
  • Remove the debug info (number in upper right corner) in 12x12 tile display mode
skbn-v1.1.zip (115.2 KB)
Version 1.0
March 27, 2021 (Saturday)
First release for smspower.org coding competition 2021
skbn_release_smscomp2021.zip (112.8 KB)

Also available from the game page on smspower.org:


goto top


Making this game would have been much more difficult without these tools:

A big thanks to the authors of the above!

Of course, there would be nothing to see here without the game contents, the levels! I used levels that can be redistributed freely provided that their author is credited.

goto top

Any trademarks used on this site are the property of their respective owners.
Copyright © 2002-2021, Raphaël Assenat
Website coded withWebsite coded with vimLast update: May 20, 2021 (Thursday)