Skip to main content

'Barbarian - The Ultimate Warrior' game remake

Project description

Barbarian - The Ultimate Warrior

Amiga 500 game remake written in Python and PyGame CE.

preview

Installation

Linux

Download executable from releases.

Windows

Download executable from releases.

PIP

pip install barbariantuw

Launch:

barbariantuw

Controls

  • ESC - close window and exit
Player 1 Player 2
LEFT Left, Numpad 4 J
RIGHT Right, Numpad 6 L
UP Up, Numpad 8 I
DOWN Down, Numpad 2 K
FIRE RShift, Numpad 0 Space

Credits

Links

Build

Clone repo:

$ git clone https://codeberg.org/cthulhu/barbarian.git

Create virtual environment:

$ cd barbarian
$ python3 -m venv .venv
$ source .venv/bin/activate

Install dev-dependencies:

(.venv) $ pip install .[dev]

PIP

Package for pypi.org:

(.venv) $ python3 -m build

PygBag

WebAssembly zip-archive for itch.io:

(.venv) $ rm -rf pygbag/barbariantuw/* \
  && cp -r barbariantuw pygbag \
  && pygbag --archive pygbag

Nuitka

To reduce output filesize use virtual environment with nuitka package only.

$ python3 -m venv .venv-nuitka
$ source .venv-nuitka/bin/activate
(.venv-nuitka) $ pip install .[nuitka]

Executable:

(.venv-nuitka) $ python3 -m build_nuitka

Profiling

Memory:

(.venv) $ rm barbariantuw.bin
(.venv) $ python3 -m memray run -o barbariantuw.bin -m barbariantuw
(.venv) $ python3 -m memray flamegraph barbariantuw.bin
(.venv) $ <browser> memray-flamegraph-barbariantuw.html

NOTE: memray not available on Windows

CPU:

(.venv) $ python -m cProfile -o barbariantuw.prof -m barbariantuw
(.venv) $ snakeviz barbariantuw.prof

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

barbariantuw-1.0.0.tar.gz (605.2 kB view details)

Uploaded Source

Built Distribution

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

barbariantuw-1.0.0-py3-none-any.whl (775.6 kB view details)

Uploaded Python 3

File details

Details for the file barbariantuw-1.0.0.tar.gz.

File metadata

  • Download URL: barbariantuw-1.0.0.tar.gz
  • Upload date:
  • Size: 605.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for barbariantuw-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7c6b9549187f35b20b0f1d97270d94c43c514b1dbafa02c810264e8be3506a6d
MD5 033b7c054064fdca916698e98f2ba14d
BLAKE2b-256 3ef6f5cf7ec6692e7e7b2fe5a28891bdd5f9309ca6dccb2fb609c01298a0692f

See more details on using hashes here.

File details

Details for the file barbariantuw-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: barbariantuw-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 775.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for barbariantuw-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e71b2e5aed8612b560163a77a69337a0ba5cb4c2c209bfd915240f0023d9f6f
MD5 9d35e90715e341956ffe75008268abe7
BLAKE2b-256 be3177d41544d36c73928750802db896c078d5117bff270e4787148103f3df05

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