A Sokoban implementation for the terminal
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
sloum bc2964c4d6 Changes name and adds complete game with 10 levels 1 year ago
.gitgnore Changes name and adds complete game with 10 levels 1 year ago
README.md Changes name and adds complete game with 10 levels 1 year ago
levels.go Changes name and adds complete game with 10 levels 1 year ago
main.go Changes name and adds complete game with 10 levels 1 year ago

README.md

wrhs

wrhs, or warehouse, is a sokoban implementation for the terminal (supporting utf-8 by default, but with an ascii mode for terminals that do not support utf-8).

Play

The goal is to move the all of the boxes onto the target squares. To do so you may push the boxes... but cannot pull them. So be careful to not get stuck!

Controls

  • h/j/k/l - move
  • a/s/w/d - move
  • q will quit the game
  • r will restart the current level

Flags

  • -a - use ascii mode
  • -l int - start at level int

Building

If you have the Go toolchain installed then a simple go build or go install should do the job. There are not outside dependencies.