2 releases

0.1.1 May 15, 2022
0.1.0 May 15, 2022

#635 in Games

37 downloads per month

LGPL-2.1-or-later

96KB
2.5K SLoC

Sokoban

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).

Usage

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.

Dependencies

~3.5MB
~68K SLoC