Skip to content

oriSomething/sokoban-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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