Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 783 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 783 Bytes

Sokoban CLI

Play Sokoban from the CLI with custom maps.

Screen shot from level

Install

npm i -g sokoban-cli

Play

You can play maps from files:

sokoban-cli map.txt

Or you can play maps from the web:

sokoban-cli https://raw.githubusercontent.com/orisomething/sokoban-cli/master/maps/test-maps.txt

And finally, you can put multiple maps files (txt) inside ~/.sokoban-cli folder and play them by running the command without arguments:

sokoban-cli

keys

  • Arrows keys for moving
  • Q - Quit level/game
  • R - Start from the beginning
  • U - Undo

In case you need to scroll you can use the mouse