Skip to main content

Train snake puzzle game

Project description

vlak

Hra hadík s vlakom pre Linux/macOS postavená na Python + Arcade.

Port pôvodnej DOS hry od Miroslav Němček (Panda381): https://github.com/Panda381

Python PyPI

Inštalácia

pip install vlak

Spustenie

vlak

Ovládanie

Kláves Akcia
Šípky Zmena smeru vlaku
Medzerník / Enter Ďalšia scéna / potvrdenie hesla
Escape Ukončenie hry
Alt+1 – Alt+4 Zmena veľkosti okna (1× – 4×)

Heslo pre preskočenie na konkrétnu scénu zadaj písmenami a potvrď Enter.

Vývoj

Závislosti

Inštalácia zo zdrojov

git clone https://github.com/cortexm/vlak
cd vlak
python -m venv .venv
.venv/bin/pip install -e .
.venv/bin/vlak

Profilovanie

Hru je možné spustiť pod cProfile cez environment variable:

VLAK_PROFILE=1 vlak

Po ukončení (Esc) sa uloží vlak.prof v aktuálnom adresári a na stdout sa vypíše top 30 funkcií podľa cumulative a total time. Cieľ profilu možno zmeniť cez VLAK_PROFILE_OUT=/cesta/k/suboru.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

vlak-1.1.0.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

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

vlak-1.1.0-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vlak-1.1.0.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vlak-1.1.0.tar.gz
Algorithm Hash digest
SHA256 70e87a6805b93ad2e085c483e3c6fca0d2f02dc3002f260b8763fba822d648a3
MD5 e735bc192fc54771eba0e4b3a1b371a0
BLAKE2b-256 f263c185413747de34da44c50856f94db7e5f246d0e2758eed9da898273d1a03

See more details on using hashes here.

Provenance

The following attestation bundles were made for vlak-1.1.0.tar.gz:

Publisher: publish.yml on pavelrevak/vlak

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: vlak-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vlak-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eabea0180b081e011bcff185b33fa40576c738745d979c6182ed59ed2701abbf
MD5 0d3e638dff4f54a1f2685367de33f781
BLAKE2b-256 0da372404ca8f0ba40b0513411cc47e9802c34781b63b5cde7a4978152d2a79f

See more details on using hashes here.

Provenance

The following attestation bundles were made for vlak-1.1.0-py3-none-any.whl:

Publisher: publish.yml on pavelrevak/vlak

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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