ty-zombies 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,187 @@
1
+ Metadata-Version: 2.4
2
+ Name: ty-zombies
3
+ Version: 1.0.0
4
+ Summary: A fast, tactical terminal typing survival game with campaign levels, bosses, mutators, daily challenges, and endless waves.
5
+ Author: codest0411
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/codest0411/ty-zombies
8
+ Project-URL: Repository, https://github.com/codest0411/ty-zombies
9
+ Project-URL: Issues, https://github.com/codest0411/ty-zombies/issues
10
+ Keywords: terminal,game,typing,zombies,curses,cli,arcade
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console :: Curses
13
+ Classifier: Intended Audience :: End Users/Desktop
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.8
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Topic :: Games/Entertainment :: Arcade
24
+ Requires-Python: >=3.8
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ Requires-Dist: windows-curses>=2.3.0; sys_platform == "win32"
28
+ Provides-Extra: dev
29
+ Requires-Dist: pytest>=7.0; extra == "dev"
30
+ Requires-Dist: build>=1.0; extra == "dev"
31
+ Requires-Dist: twine>=4.0; extra == "dev"
32
+ Dynamic: license-file
33
+
34
+ <div align="center">
35
+
36
+ # 🧟 ty-zombies
37
+
38
+ ### The dead are coming. Every one of them is carrying a word.
39
+
40
+ 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.
41
+
42
+ ![Python 3.8+](https://img.shields.io/badge/python-3.8%2B-blue)
43
+ ![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey)
44
+ ![License: MIT](https://img.shields.io/badge/license-MIT-green)
45
+
46
+ <br>
47
+
48
+ <img src="assets/gameplay.png" alt="ty-zombies wide telemetry gameplay" width="760">
49
+
50
+ <sub>Level 6 (The City) in wide telemetry mode: Combo Fever active, Boss incoming, and live WPM/Accuracy gauges.</sub>
51
+
52
+ </div>
53
+
54
+ ---
55
+
56
+ ## ✨ Features
57
+
58
+ - 🎯 **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.
59
+ - 🧟 **7 Zombie Types**: Walkers `[Z]`, fast Runners `[R]`, heavy Brutes `[B]`, Medics `[+]`, Frost `[*]`, Bombers `[X]`, and sentence-carrying Bosses `[BOSS]`.
60
+ - πŸ—ΊοΈ **4 Game Modes**:
61
+ - **Campaign**: 8 escalating levels with 3-star ratings and unlockable Level Select.
62
+ - **Endless Survival**: Infinite waves with a Boss every 3rd wave.
63
+ - **Daily Challenge**: Deterministic daily seeded run (`--mode daily`) with daily tracking.
64
+ - **Sandbox & Mutators**: Shareable seeds (`--seed`) + 4 toggleable mutators (`Hyper Horde`, `Glass Barricade`, `Dense Mist`, `Pure Typing`).
65
+ - πŸ”₯ **Combo Fever**: Maintain a 10x+ combo for a **+25% score multiplier**.
66
+ - πŸ† **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`).
67
+ - πŸ”Š **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.
68
+ - 🎨 **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.
69
+
70
+ ---
71
+
72
+ ## πŸ“Έ Screenshot Gallery
73
+
74
+ <table>
75
+ <tr>
76
+ <td align="center"><b>Main Menu</b><br><img src="assets/menu.png" alt="Main Menu" width="420"></td>
77
+ <td align="center"><b>Mission Debrief</b><br><img src="assets/debrief.png" alt="Mission Debrief" width="420"></td>
78
+ </tr>
79
+ <tr>
80
+ <td align="center"><b>High Scores & Stats</b><br><img src="assets/scores.png" alt="High Scores" width="420"></td>
81
+ <td align="center"><b>Options & Accessibility</b><br><img src="assets/options.png" alt="Options" width="420"></td>
82
+ </tr>
83
+ </table>
84
+
85
+ ---
86
+
87
+ ## πŸš€ Installation
88
+
89
+ ### Using `pipx` (Recommended)
90
+
91
+ ```bash
92
+ pipx install ty-zombies
93
+ ```
94
+
95
+ ### Using `pip`
96
+
97
+ ```bash
98
+ pip install ty-zombies
99
+ ```
100
+
101
+ > **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.
102
+
103
+ ---
104
+
105
+ ## πŸ•ΉοΈ Usage & CLI Options
106
+
107
+ ```bash
108
+ # Launch the interactive menu
109
+ tyzombie
110
+
111
+ # Or run as a Python module
112
+ python -m tyzombie
113
+
114
+ # Jump directly into a mode
115
+ tyzombie --mode campaign
116
+ tyzombie --mode survival
117
+ tyzombie --mode daily
118
+ tyzombie --mode sandbox --seed 4242
119
+
120
+ # Print your latest / personal-best shareable run card
121
+ tyzombie --record
122
+
123
+ # Configure shell alias / PowerShell profile function
124
+ tyzombie setup-shell
125
+
126
+ # Check version or help
127
+ tyzombie --version
128
+ tyzombie --help
129
+ ```
130
+
131
+ > πŸ’‘ 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.
132
+
133
+ ---
134
+
135
+ ## 🎹 Controls
136
+
137
+ | Key | Action |
138
+ |---|---|
139
+ | `a`-`z`, `space` | Lock on and type the zombie's word |
140
+ | `Tab` | Switch target to the next closest zombie |
141
+ | `Backspace` | Drop your current target |
142
+ | `1` | **Freeze**: stops all zombies for 5 seconds |
143
+ | `2` | **Bomb**: destroys the 4 closest non-boss zombies |
144
+ | `3` | **Repair**: restores +2 barricade HP |
145
+ | `/` | **Assist**: locks onto the closest zombie (limited per level) |
146
+ | `Esc` | Pause menu (`M` to mute/unmute, `Q` to save & quit) |
147
+
148
+ ---
149
+
150
+ ## πŸ› οΈ Development & Testing
151
+
152
+ ```bash
153
+ git clone https://github.com/codest0411/ty-zombies.git
154
+ cd ty-zombies
155
+ python -m venv .venv
156
+ # Activate the virtual environment, then:
157
+ pip install -e ".[dev]"
158
+ pytest -v
159
+ ```
160
+
161
+ Build source and wheel distributions:
162
+
163
+ ```bash
164
+ python -m build
165
+ twine check dist/*
166
+ ```
167
+
168
+ ---
169
+
170
+ ## πŸ”§ Troubleshooting
171
+
172
+ - **`Terminal too small` message**: Resize your terminal window to at least 78 columns by 20 rows (96Γ—26 recommended).
173
+ - **No sound on Linux**: Ensure `paplay` (PulseAudio/PipeWire) or `aplay` (ALSA) is available on your `PATH`.
174
+ - **Save data location**: Progress is stored in `~/.tyzombie/data.json`. Set `TYZOMBIE_DATA_DIR=/custom/path` to relocate it.
175
+
176
+ ---
177
+
178
+ ## πŸ“„ License
179
+
180
+ MIT License β€” see [LICENSE](LICENSE) for details.
181
+
182
+ <div align='center'>
183
+ Special Thanks for this Guy --> [Yup-25](https://github.com/yup-45)
184
+
185
+ Thanks Buddy !
186
+
187
+ </div>
@@ -0,0 +1,15 @@
1
+ ty_zombies-1.0.0.dist-info/licenses/LICENSE,sha256=3mn19FiYkFd_yLlMs117NDa4I3-lOprnpNCmmwKQe4Y,1067
2
+ tyzombie/__init__.py,sha256=8gH--e6iX7inxRRkf6_dsCVFeJtxFjshIF-AewdeoT8,115
3
+ tyzombie/__main__.py,sha256=YPP3b2rdRdHhmGLCFb5yHHUpW_GRQDiuYvMrRvlQLlg,135
4
+ tyzombie/app.py,sha256=qyiRxAjC2i4KZjKFn97OuNiCJQUOoTXmW922i8CO1Fo,21252
5
+ tyzombie/audio.py,sha256=zA_LJIBh3jf1CwetHMCS08uePKorkUEyMlNEZ_6BseM,4884
6
+ tyzombie/cli.py,sha256=4CSDYcu0fJg1Moe9F67ZeThQF_dVc6kIHipcIeulJws,4035
7
+ tyzombie/models.py,sha256=1fVqdvOkMI7DORMHSmB0efwMga3iXZwMNNiP4VlmZ3Q,26056
8
+ tyzombie/save.py,sha256=4ri7_b9rluZfAhbgmZiwYreHhU5eVJNR2uZTLOx2GHs,9390
9
+ tyzombie/themes.py,sha256=20VBY7IRu1nEn5BN0zJ1M2MblOLsCo9zjwqt9H3XVGM,4578
10
+ tyzombie/ui.py,sha256=c1q77PctAoPxkG8ZoYmGxCpShjQyEfk9YYnIS-yR4hY,17826
11
+ ty_zombies-1.0.0.dist-info/METADATA,sha256=23NOTmOBC8SXn6te2BBdSIe8Ku7CQoG2MQWYAuArc20,6792
12
+ ty_zombies-1.0.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
13
+ ty_zombies-1.0.0.dist-info/entry_points.txt,sha256=Cuc_f5Vi6h4aefxy4W0P6klFPiQ6leV-2wDC6llYaxw,47
14
+ ty_zombies-1.0.0.dist-info/top_level.txt,sha256=bC4-lgVpTNs6XiNvXZINcwfKl4d4Mlt-wMrUzBcKgK8,9
15
+ ty_zombies-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ tyzombie = tyzombie.cli:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 codest0411
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ tyzombie
tyzombie/__init__.py ADDED
@@ -0,0 +1,4 @@
1
+ """ty-zombies: A fast, tactical terminal typing survival game."""
2
+
3
+ __version__ = "1.0.0"
4
+ __all__ = ["__version__"]
tyzombie/__main__.py ADDED
@@ -0,0 +1,7 @@
1
+ """Entry point for `python -m tyzombie`."""
2
+
3
+ import sys
4
+ from tyzombie.cli import main
5
+
6
+ if __name__ == "__main__":
7
+ sys.exit(main())