Skip to main content

Bansoko is a reimagined, space-themed clone of MS-DOS Soko-Ban from 1984 created in Python using Pyxel

Project description

Bansoko is a reimagined, space-themed 🚀 clone of MS-DOS Soko-Ban from 1984 created in Python using Pyxel.

You can download :package: for both Windows and Linux from:

Introduction 📖

Welcome to Bansoko!

You are a scavenger. You collect cargos that people have left in abandoned ships in deep space. It's a dangerous job, that's why we're using robots.

Your goal is to use a remotely controlled robot to push all crates to cargo bays. Remember, you can only push them (you cannot pull) Fortunately, in case of mistake you can undo as many steps as you need.

Good luck!

Installation 🎮

Windows

Install Python (version 3.8 or higher) and make sure that python is added to PATH.

Install Bansoko by running:

pip install -U bansoko

Run the game:

bansoko

Linux

Install python3 (version 3.8 or higher), python3-pip and required SDL2 libraries (libsdl2-2.0-0 and libsdl2-image-2.0-0).

On Ubuntu, this can be done by running:

sudo apt install python3 python3-pip libsdl2-2.0-0 libsdl2-image-2.0-0 

Install Bansoko by running:

pip3 install -U bansoko

Run the game:

bansoko

Development setup 💻

1. Install prerequisites

Windows

Install 32-bit Python (version 3.8 or higher) and make sure that python is added to PATH.

Additionally, install pipenv for managing virtual environments and project dependencies:

pip install pipenv

Linux

Install python3 (version 3.8 or higher), python3-pip, pipenv and required SDL2 libraries (libsdl2-2.0-0 and libsdl2-image-2.0-0).

On Ubuntu, this can be done by running:

sudo apt install python3 python3-pip pipenv libsdl2-2.0-0 libsdl2-image-2.0-0 

2. Set up the project

Clone the repository:

git clone https://github.com/kfurtak1024/bansoko

Navigate to the directory Bansoko was cloned to.

Create virtual environment to isolate development:

pipenv shell

Install all dependencies needed for development:

pipenv install --dev

3. Run the game

Run Bansoko from virtual environment created in the previous step:

Windows

python -m bansoko

Linux

python3 -m bansoko

Modding 🧰

Bansoko is heavily modifiable thanks to included resource builder. More information on how to 'mod' it can be found on Bansoko modding page.

How to contribute 🤝

Submitting an issue

Use the issue tracker to submit bug reports and feature/enhancement requests. When submitting a report, please select the appropriate template.

Submitting a 'mod'

If you have created a modification for Bansoko which you would like to publish then please contact me via contact@krzysztoffurtak.dev

License ⚖️

This project is licensed under the MIT License - see the LICENSE.md file for details.

Copyright © 2020-2022 Krzysztof Furtak

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

bansoko-1.1.0.tar.gz (95.4 kB view details)

Uploaded Source

Built Distribution

bansoko-1.1.0-py3-none-any.whl (105.8 kB view details)

Uploaded Python 3

File details

Details for the file bansoko-1.1.0.tar.gz.

File metadata

  • Download URL: bansoko-1.1.0.tar.gz
  • Upload date:
  • Size: 95.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for bansoko-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7cef5687cab7638c603756e20b2256779216529402707b6079e885fb83c2319b
MD5 faf664df40b362212ee86d97bbd123fa
BLAKE2b-256 dfc5ed9189d2b6e603ba8f153c3361dea3cfc7366dec18d709ad653dd6f32231

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bansoko-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 105.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for bansoko-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 faf8b1e4efbe0496e69883e0b58a70f804fbe4c6ffa1c2f9d2fcc77eaedc9510
MD5 15ece3c139a46b9f02828d3632b83fdd
BLAKE2b-256 b9fe1b79b9fb497413a64dd1bfc29fb5e08953ce669af7729896d0c90567134c

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