https://github.com/orisomething/sokoban-cli
Sokoban CLI
https://github.com/orisomething/sokoban-cli
cli game node sokoban typescript
Last synced: 6 months ago
JSON representation
Sokoban CLI
- Host: GitHub
- URL: https://github.com/orisomething/sokoban-cli
- Owner: oriSomething
- License: mit
- Created: 2017-12-13T20:48:26.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-16T10:18:31.000Z (almost 8 years ago)
- Last Synced: 2025-03-18T13:58:59.059Z (7 months ago)
- Topics: cli, game, node, sokoban, typescript
- Language: TypeScript
- Size: 42 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sokoban CLI
Play Sokoban from the CLI with custom maps.

## Install
```sh
npm i -g sokoban-cli
```## Play
You can play maps from files:
```sh
sokoban-cli map.txt
```Or you can play maps from the web:
```sh
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:```sh
sokoban-cli
```### keys
* Arrows keys for moving
* Q - Quit level/game
* R - Start from the beginning
* U - UndoIn case you need to scroll you can use the mouse