Code Monkey home page Code Monkey logo

bansoko's Introduction

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

You can download ๐Ÿ“ฆ for both Windows and Linux from:

๐Ÿ“– Introduction

Welcome to Bansoko!

You are a scavenger. You collect cargo 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 a 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 [email protected]

โš–๏ธ License

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

Copyright ยฉ 2020-2024 Krzysztof Furtak

bansoko's People

Contributors

dependabot[bot] avatar kfurtak1024 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mseyne

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.