Skip to main content

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/

demo.gif

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terminal_sokoban-1.1.0.tar.gz (995.1 kB view details)

Uploaded Source

Built Distribution

terminal_sokoban-1.1.0-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

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

Hashes for terminal_sokoban-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d0ed4eac19156daad35a1a2394a998604aa64f3e59f07e25b87628cd5b2fe0a0
MD5 c44f96bb5d3f9628d39f7ce916bc245e
BLAKE2b-256 097310ce691eaaeeb5cc537b101c8a754bbeaed612e4b988a84bdefcfb689ed8

See more details on using hashes here.

File details

Details for the file terminal_sokoban-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for terminal_sokoban-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46ea0779c778d0ba8c8fc9d97938ed420a87a8b6e8aec9fe8eae64ed71f469d8
MD5 1abb75a38b9b8ab2ffed2eb9b70b77c3
BLAKE2b-256 d03500891336cebc30038f9c5389ca7b7ab23b291336c946282e83345e0dc0f2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page