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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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