This is a Sokoban clone written in Rust using Glium as a graphics back-end.
Download Sokoban:
git clone https://github.com/yzhs/sokoban
cd sokobanTo compile the game, you will need a recent nightly version of Rust. Assuming
you are using nightly by default, you can run the game using cargo run --release.
Like in the original game, you move around using the arrow keys. There are also some additional controls for convenience:
- Pressing
Shiftand an arrow key is the equivalent of hitting that arrow key repeatedly until the worker has stopped moving, i.e. go as far as possible in the given direction. Ctrland an arrow key moves as far as possible in the given direction without moving a crate.UorCtrl+Zundo the last move.Shift+UorCtrl+Shift+Zredo one move.Escaperesets the current level.Ploads the previous level.Ngoes to the next level, but only if you have (now or in a previous session) solved the current level.Qexits the game.