Skip to main content

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.

Metadata

Release files for sokobanpy 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sokobanpy 1.3.0
File Size Uploaded
sokobanpy-1.3.0.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sokobanpy 1.3.0
File Interpreter ABI Platform
sokobanpy-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / sokobanpy-1.3.0.tar.gz

Download URL sokobanpy-1.3.0.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
19a4c0006211bbec20fd9bb9ec9f544acf94e2ed673312bf7c55b27101cdf690
BLAKE2b-256 checksum
How to use checksums
3883008103dd5d09f07566d8a306350dc5617e628a71c31f50722903cede5d03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / sokobanpy-1.3.0-py3-none-any.whl

Download URL sokobanpy-1.3.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9d188318bd5505e51ab1418ba974c8f7d3911e106636b37d7c9d48670f69051
BLAKE2b-256 checksum
How to use checksums
bf235167758324d24869ef653491a2a62dd6e5e75ddcf2d9829078d4ad51c34f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page