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
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
- Python 3.13+
- arcade 3.x
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.
Metadata
Release files for vlak 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vlak-1.1.0.tar.gz | 1.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vlak-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.4 MB
Release files / vlak-1.1.0.tar.gz
| Download URL | vlak-1.1.0.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
70e87a6805b93ad2e085c483e3c6fca0d2f02dc3002f260b8763fba822d648a3
|
|
BLAKE2b-256 checksum How to use checksums |
f263c185413747de34da44c50856f94db7e5f246d0e2758eed9da898273d1a03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 9, 2026.
Transparency logRelease files / vlak-1.1.0-py3-none-any.whl
| Download URL | vlak-1.1.0-py3-none-any.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eabea0180b081e011bcff185b33fa40576c738745d979c6182ed59ed2701abbf
|
|
BLAKE2b-256 checksum How to use checksums |
0da372404ca8f0ba40b0513411cc47e9802c34781b63b5cde7a4978152d2a79f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 9, 2026.
Transparency log