Skip to main content

🧟 ty-zombies

The dead are coming. Every one of them is carrying a word.

A fast, tactical terminal typing survival game with an 8-level Campaign, Endless Survival, Daily Challenges, Seeded Sandbox with Mutators, Boss fights, Achievements, and zero-dependency cross-platform audio.

Python 3.8+ Platform License: MIT


ty-zombies wide telemetry gameplay

Level 6 (The City) in wide telemetry mode: Combo Fever active, Boss incoming, and live WPM/Accuracy gauges.


✨ Features

  • 🎯 Lock-On Typing: No Enter key required—type the first letter of any word to lock onto the closest matching zombie, then finish the word to shoot.
  • 🧟 7 Zombie Types: Walkers [Z], fast Runners [R], heavy Brutes [B], Medics [+], Frost [*], Bombers [X], and sentence-carrying Bosses [BOSS].
  • 🗺️ 5 Game Modes:
    • Campaign: 8 escalating levels with 3-star ratings and unlockable Level Select.
    • Endless Survival: Infinite waves with a Boss every 3rd wave.
    • Sentence Siege (v2.0): Type full, multi-word sentences and Boss Paragraphs with Word Streak multipliers, Perfect Sentence bonuses (+250 pts & bonus charges), and a wrapped active-sentence cockpit (--mode sentence).
    • Daily Challenge: Deterministic daily seeded run (--mode daily) with daily tracking.
    • Sandbox & Mutators: Shareable seeds (--seed) + 4 toggleable mutators (Hyper Horde, Glass Barricade, Dense Mist, Pure Typing).
  • 🔥 Combo Fever: Maintain a 10x+ combo for a +25% score multiplier.
  • 🏆 Persistent Progression: Top-10 leaderboard, lifetime statistics, 10 unlockable achievements, mid-run auto-save & resume, and shareable ASCII/Markdown run cards (tyzombie --record) stored in ~/.tyzombie/data.json (overridable via TYZOMBIE_DATA_DIR).
  • 🔊 Zero-Dependency Cross-Platform Audio: Non-blocking winsound.Beep on Windows and synthesized PCM WAV cues (afplay/paplay/aplay) on macOS/Linux, with instant mute toggle.
  • 🎨 Responsive Cockpit UI & Accessibility: Unicode box-drawn dashboard with automatic ASCII fallback, wide 2-column telemetry view (>= 96 cols), compact 80x24 layout, 4 color themes (OUTBREAK, NEON CYBER, AMBER CRT, COLORBLIND), plus Colorblind Mode, Reduced Flash, and Large UI toggles.

Main Menu
Main Menu
Mission Debrief
Mission Debrief
High Scores & Stats
High Scores
Options & Accessibility
Options

🚀 Installation

pipx install ty-zombies

Using pip

pip install ty-zombies
python -m tyzombie

Windows note: windows-curses is automatically installed on Windows as a platform dependency. If tyzombie is not on your PATH after installing with --user, run python -m tyzombie setup-shell to add a PowerShell function or Unix shell alias.


🕹️ Usage & CLI Options

# Launch the interactive menu
tyzombie

# Or run as a Python module
python -m tyzombie

# Jump directly into a mode
tyzombie --mode campaign
tyzombie --mode survival
tyzombie --mode sentence
tyzombie --mode daily
tyzombie --mode sandbox --seed 4242

# Print your latest / personal-best shareable run card
tyzombie --record

# Configure shell alias / PowerShell profile function
tyzombie setup-shell

# Check version or help
tyzombie --version
tyzombie --help

💡 Use a terminal window of at least 78 × 20 (recommended 96 × 26 for the 2-column telemetry cockpit). If the window is too small, a friendly resize overlay is displayed.


🎹 Controls

Key Action
a-z, space Lock on and type the zombie's word
Tab Switch target to the next closest zombie
Backspace Drop your current target
1 Freeze: stops all zombies for 5 seconds
2 Bomb: destroys the 4 closest non-boss zombies
3 Repair: restores +2 barricade HP
/ Assist: locks onto the closest zombie (limited per level)
Esc Pause menu (M to mute/unmute, Q to save & quit)

🛠️ Development & Testing

git clone https://github.com/codest0411/ty-zombies.git
cd ty-zombies
python -m venv .venv
# Activate the virtual environment, then:
pip install -e ".[dev]"
pytest -v

Build source and wheel distributions:

python -m build
twine check dist/*

🔧 Troubleshooting

  • Terminal too small message: Resize your terminal window to at least 78 columns by 20 rows (96×26 recommended).
  • No sound on Linux: Ensure paplay (PulseAudio/PipeWire) or aplay (ALSA) is available on your PATH.
  • Save data location: Progress is stored in ~/.tyzombie/data.json. Set TYZOMBIE_DATA_DIR=/custom/path to relocate it.

📄 License

MIT License — see LICENSE for details.

Special Thanks for this Guy Yup-45

Thanks Buddy !

Metadata

Release files for ty-zombies 2.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 ty-zombies 2.0.0
File Size Uploaded Provenance Actions
ty_zombies-2.0.0.tar.gz 38.0 kB With provenance Details for ty_zombies-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ty-zombies 2.0.0
File Interpreter ABI Platform Actions
ty_zombies-2.0.0-py3-none-any.whl Python 3 none any Details for ty_zombies-2.0.0-py3-none-any.whl

Total release size: 75.0 kB

Release files / ty_zombies-2.0.0.tar.gz

Download URL ty_zombies-2.0.0.tar.gz
Size 38.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4f1c1d4bf273022dccb90d4b49c726b6a34781ecfd1c0d5e183b48a588b8f0a5
BLAKE2b-256 checksum
How to use checksums
8aa3f111f6b180272b3cda862640bc210b4085ea39e0fc664f250405383783f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 27, 2026.

Transparency log

Release files / ty_zombies-2.0.0-py3-none-any.whl

Download URL ty_zombies-2.0.0-py3-none-any.whl
Size 37.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
398b7f7f386fd358b71493fdbc6b5b4c2045696621dc67b42184b75061de645e
BLAKE2b-256 checksum
How to use checksums
158695de5a1e66102849cf56d4d57595479275059702a81985f46f4a7e74d55c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 27, 2026.

Transparency log

Security for ty-zombies 2.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ty_zombies-2.0.0.tar.gz

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 Nov 27, 2026.

Transparency log

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.

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