#game #sokoban

bin+lib matszpk-sokoban

Sokoban game

2 releases

0.1.1 May 15, 2022
0.1.0 May 15, 2022

#335 in Games


2.5K SLoC


This is simple Sokoban game written in the Rust language. The game is working terminal environment and it provides simple user interface. A game display levels with standard semigraphic characters and it requires ANSI terminal to display levels. A game can load the levelset from file in the standard XSB format and in the XML format (SLC).


The game can be easily run by entering command:

sokoban levelsetfile - where levelsetfile is levelset file path.

Keys while game:

  • Left, Right, Up, Down - move player.
  • Backspace - undo last move.
  • Escape - cancel current level.
  • Q - quit game.
  • F1, ? - display help.


~56K SLoC