Skip to main content

Sokoban in Python.

Project description

sokobanpy

Sokoban in Python.


What is Sokoban?

Sokoban is a classic puzzle game where the player pushes boxes onto designated goal positions within a warehouse-like environment. The game is played on a grid, and each element is represented by a standard character:

  • "#": Wall
  • "@": Player (Sokoban)
  • "$": Box
  • ".": Goal
  • "*": Box on a goal
  • "+": Player on a goal
  • " ": Empty space

Objective

Move all boxes ("$") onto the goal positions (".") using the player ("@"). Boxes can only be pushed (not pulled), and only one box can be pushed at a time. The player cannot move through walls or boxes.

How to play

Use directional controls to move the player. Strategically plan moves to avoid pushing boxes into corners or against walls where they can't be retrieved. The puzzle is solved when all boxes are on goal tiles ("*").


For details, please refer to the Homepage.

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

sokobanpy-1.2.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sokobanpy-1.2.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file sokobanpy-1.2.0.tar.gz.

File metadata

  • Download URL: sokobanpy-1.2.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for sokobanpy-1.2.0.tar.gz
Algorithm Hash digest
SHA256 48b87dd2f1bb618d40b46d028d7c0a73586a18dd9b8a222f4530668e71e510ec
MD5 f3a65164ea345a87551073ae7cd729f1
BLAKE2b-256 29a3e02eeb36f7268ff9aebe9054126ea28284e0ce5641408acc2e56cdda5d38

See more details on using hashes here.

File details

Details for the file sokobanpy-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: sokobanpy-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for sokobanpy-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b225ae5af9a1754cb622c86d1bff10442f509a1aca5cea2bb5d2fcbf71d9807d
MD5 acad08814b5bccf5bddc5c20316c0698
BLAKE2b-256 3af48e3a173723ab964651f4eefdd1faadf737aca5346c131f50dce248fb84d6

See more details on using hashes here.

Supported by

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