A terminal based Sokoban game interface
Project description
Terminal Sokoban
sokoban
is a "graphical" command line program for playing the popular sokoban game in the terminal.
Sokoban (倉庫番, Sōko-ban, lit. 'warehouse keeper'[1]) is a puzzle video game in which the player pushes boxes around in a warehouse, trying to get them to storage locations. The game was designed in 1981 by Hiroyuki Imabayashi, and first published in December 1982. - Wikipedia: http://en.wikipedia.org/wiki/
Installation
sokoban
is only compatible with python3
, and can be installed through pip
.
pip3 install terminal-sokoban
You should then be ready to go.
Play
Run sokoban
to start playing the game.
sokoban
There are over 17,991
stages.
sokoban
has been tested to work on Linux, Mac, and Windows computers.
Instruction
-
Use the arrow keys to move the player around.
-
Use the (r) key to reverse a move.
-
Use the (z) key to restart a stage.
-
Use the (q) key to quit the game.
Options
Specify which stage to play
sokoban 7
Development
- Clone repository.
- Setup poetry and install dependencies.
- Load stage data using
python script/generate.py
. - Run Game using play instructions above.
Credits
- Blessed
- cursewords
- Levels data from http://sourcecode.se/sokoban/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file terminal_sokoban-1.1.0.tar.gz
.
File metadata
- Download URL: terminal_sokoban-1.1.0.tar.gz
- Upload date:
- Size: 995.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0ed4eac19156daad35a1a2394a998604aa64f3e59f07e25b87628cd5b2fe0a0 |
|
MD5 | c44f96bb5d3f9628d39f7ce916bc245e |
|
BLAKE2b-256 | 097310ce691eaaeeb5cc537b101c8a754bbeaed612e4b988a84bdefcfb689ed8 |
File details
Details for the file terminal_sokoban-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: terminal_sokoban-1.1.0-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46ea0779c778d0ba8c8fc9d97938ed420a87a8b6e8aec9fe8eae64ed71f469d8 |
|
MD5 | 1abb75a38b9b8ab2ffed2eb9b70b77c3 |
|
BLAKE2b-256 | d03500891336cebc30038f9c5389ca7b7ab23b291336c946282e83345e0dc0f2 |