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.3.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.3.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sokobanpy-1.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 19a4c0006211bbec20fd9bb9ec9f544acf94e2ed673312bf7c55b27101cdf690
MD5 f78f9d01267813babf1bb89558bb7418
BLAKE2b-256 3883008103dd5d09f07566d8a306350dc5617e628a71c31f50722903cede5d03

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sokobanpy-1.3.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9d188318bd5505e51ab1418ba974c8f7d3911e106636b37d7c9d48670f69051
MD5 ccf132bc03859a15095839d240e8bece
BLAKE2b-256 bf235167758324d24869ef653491a2a62dd6e5e75ddcf2d9829078d4ad51c34f

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