Skip to main content

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

Metadata

Release files for barbariantuw 1.0.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 barbariantuw 1.0.0
File Size Uploaded Provenance Actions
barbariantuw-1.0.0.tar.gz 605.2 kB Without provenance Details for barbariantuw-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.4 MB

Release files / barbariantuw-1.0.0.tar.gz

Download URL barbariantuw-1.0.0.tar.gz
Size 605.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7c6b9549187f35b20b0f1d97270d94c43c514b1dbafa02c810264e8be3506a6d
BLAKE2b-256 checksum
How to use checksums
3ef6f5cf7ec6692e7e7b2fe5a28891bdd5f9309ca6dccb2fb609c01298a0692f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Release files / barbariantuw-1.0.0-py3-none-any.whl

Download URL barbariantuw-1.0.0-py3-none-any.whl
Size 775.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e71b2e5aed8612b560163a77a69337a0ba5cb4c2c209bfd915240f0023d9f6f
BLAKE2b-256 checksum
How to use checksums
be3177d41544d36c73928750802db896c078d5117bff270e4787148103f3df05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Security for barbariantuw 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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