matszpk-sokoban

Crates.iomatszpk-sokoban
lib.rsmatszpk-sokoban
version0.1.1
sourcesrc
created_at2022-05-15 18:39:47.604127
updated_at2022-05-15 18:47:19.821888
descriptionSokoban game
homepage
repositoryhttps://github.com/matszpk/rust-sokoban
max_upload_size
id587264
size125,996
Mateusz Szpakowski (matszpk)

documentation

README

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.
Commit count: 117

cargo fmt