8-bit-human 0.1.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,108 @@
1
+ Metadata-Version: 2.5
2
+ Name: 8-bit-human
3
+ Version: 0.1.0
4
+ Summary: A satirical terminal survival roguelike where RAM is the last human resource.
5
+ Project-URL: Homepage, https://github.com/yuvraj0028/8_bit_human
6
+ Project-URL: Repository, https://github.com/yuvraj0028/8_bit_human
7
+ Project-URL: Issues, https://github.com/yuvraj0028/8_bit_human/issues
8
+ Author-email: Yuvraj Singh <yuvraj.work28@gmail.com>
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Keywords: ascii,game,roguelike,terminal,textual,tui
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: End Users/Desktop
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Topic :: Games/Entertainment :: Role-Playing
20
+ Requires-Python: >=3.12
21
+ Requires-Dist: textual>=0.80.0
22
+ Provides-Extra: dev
23
+ Requires-Dist: build>=1.2; extra == 'dev'
24
+ Requires-Dist: pytest>=8.0; extra == 'dev'
25
+ Requires-Dist: ruff>=0.6; extra == 'dev'
26
+ Requires-Dist: twine>=5.0; extra == 'dev'
27
+ Description-Content-Type: text/markdown
28
+
29
+ # 8-BIT HUMAN
30
+
31
+ *The last human resource is running out.*
32
+
33
+ **Tagline:** In a world full of artificial intelligence, being human is a premium feature.
34
+
35
+ `8-bit-human` is an open-source, retro-style terminal survival roguelike set in an AI-dominated dystopia where **RAM is the most valuable resource**. Explore abandoned compute facilities, fight parody AI agents, manage scarce resources, upgrade your hardware, and survive the memory apocalypse — all from your terminal.
36
+
37
+ ## Concept
38
+ - **Genre:** Survival roguelike (TUI)
39
+ - **Platform:** Linux, macOS, Windows (ANSI-compatible terminals)
40
+ - **Core loop:** Explore → Scavenge RAM/resources → Survive encounters → Upgrade → Defeat boss → Extract
41
+ - **Lose conditions:** `OUT OF MEMORY` (RAM 0) or `HUMANITY LOST` (Humanity 0)
42
+
43
+ ## Status
44
+ Playable prototype with Phase 2/3 iteration features implemented on top of MVP.
45
+ - [Game Plan](docs/GAME_PLAN.md)
46
+ - [MVP Spec](docs/MVP_SPEC.md)
47
+
48
+ ## Stack
49
+ - **Language:** Python 3.12+
50
+ - **TUI:** Textual (+ Rich)
51
+ - **Distribution:** `pip`/`pipx`/`uv` (offline-capable runtime)
52
+
53
+ ## Setup & Run
54
+ ```bash
55
+ # create venv and install (recommended)
56
+ uv venv .venv
57
+ uv pip install -e ".[dev]" -p .venv/bin/python
58
+
59
+ # run
60
+ .venv/bin/8-bit-human
61
+ # or (with venv activated)
62
+ python -m eight_bit_human
63
+ ```
64
+
65
+ Without `uv`, use standard venv/pip:
66
+ ```bash
67
+ python3 -m venv .venv
68
+ source .venv/bin/activate
69
+ pip install -e ".[dev]"
70
+ 8-bit-human
71
+ ```
72
+
73
+ ## Controls
74
+ - Move: Arrow keys / WASD / `hjkl`
75
+ - Wait (recover CPU): `.` or Space
76
+ - Interact / Shop / Event / Ending choice: `e` or Enter
77
+ - **Inspect map:** `x` (move cursor to examine any tile; `x` or `Esc` to exit inspect mode)
78
+ - Scan (if unlocked): `v`
79
+ - Save: `Ctrl+S` (autosaves on menu; finished runs clear save)
80
+ - Help: `?`
81
+ - Menu from game: `q` or `Esc` (exits inspect mode first)
82
+
83
+ ## Features (Current Iteration)
84
+ - **3-sector run progression:** GPU Graveyard → Token Desert → Cloud Kingdom (stats/upgrades carry over)
85
+ - **Core resources:** RAM, CPU, Tokens, Humanity
86
+ - **Enemies:** Leak Slime, Rate Limiter, Prompt Injector, Hallucination Bot, Memory Leak Monster
87
+ - **Bosses:** Context Window Colossus, GPU Overlord, The Model That Cannot Be Stopped (boss spawns on EX; EX is hidden/locked until boss is defeated)
88
+ - **NPC parody encounters:** choice-driven events (Sam All-Tokens, Open Weight collective, Jensen RAMg)
89
+ - **Endings (final sector):** Independent Human, Open-Source Liberation, Corporate Merge, Singularity Merge
90
+ - **Daily challenge:** deterministic daily seed with tuned starting resources
91
+ - **Meta:** local profile/achievements, run stats, shareable ASCII death/victory certificate
92
+ - **Systems:** procedural 55x33 fixed (non-scrollable) maps with large letter-based tile icons, consolidated HUD/INFO panel layout + inspect mode, pickups, shop/upgrades, scan, score/turn tracking, save/load (`~/.8_bit_human/savegame.json`), profile (`~/.8_bit_human/profile.json`)
93
+
94
+ ## Development
95
+ ```bash
96
+ # in project venv
97
+ .venv/bin/python -m compileall src tests
98
+ .venv/bin/python -m pytest -q
99
+ ```
100
+
101
+ ## Design Pillars
102
+ 1. **Resource tension** — every action has a compute cost
103
+ 2. **Retro terminal feel** — readable ASCII/Unicode with graceful fallbacks
104
+ 3. **Satirical AI-era humor** — witty, developer-centric parody
105
+ 4. **Replayability** — procedural runs, builds, and meaningful choices
106
+
107
+ ## License
108
+ [MIT](LICENSE)
@@ -0,0 +1,18 @@
1
+ eight_bit_human/__init__.py,sha256=oWyy7jZrDE0cbLPuDfhqddD4tdOOtAQsG07e8Jk8OVI,98
2
+ eight_bit_human/__main__.py,sha256=3NlotkM2YVeK5zV-RsrNvn7PVVvPzF7BVgmTK-MEZ84,756
3
+ eight_bit_human/app.py,sha256=rX1dLWUmEF9cyDHvyhFEBkoPz1OD4EMc7KC6F6KNqGk,28889
4
+ eight_bit_human/content/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ eight_bit_human/game/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ eight_bit_human/game/models.py,sha256=HwDFpqSprTjqLlxeET-Ls5pAubOwxjCFJqjZzyF68zc,8632
7
+ eight_bit_human/game/systems.py,sha256=v3zlp1gEMYFisbGQgMUSEUveVZaXez5pbj21ezjFLfA,20657
8
+ eight_bit_human/game/world.py,sha256=pZhU_bhB9o5zsGrb9rBdCwPtNy06ck9bS5aL_Fe7shw,10861
9
+ eight_bit_human/save/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ eight_bit_human/save/profile.py,sha256=mG5fkPdfP2P8YJ3tbwJUDb5nMU8mqw1IdavE8jY6TSc,7227
11
+ eight_bit_human/save/savegame.py,sha256=ki4MkNP0xCZsZ9LV6fnmYPWltkBAzoCs39OZ136AumE,2703
12
+ eight_bit_human/ui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
+ eight_bit_human/ui/render.py,sha256=quuV8ynwMniWI3C_mYsAMU6pGG-svO1OaHYtqvS5hIM,24895
14
+ 8_bit_human-0.1.0.dist-info/METADATA,sha256=DFGAFR97a9fGwugJqS5tQLo6Qv8c4c3sHNrujzW9i_4,4512
15
+ 8_bit_human-0.1.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
16
+ 8_bit_human-0.1.0.dist-info/entry_points.txt,sha256=MGXtOL32AT70BvFTqe-apGy1jmXLR2dOocAgO93vic4,62
17
+ 8_bit_human-0.1.0.dist-info/licenses/LICENSE,sha256=jeQNjxBmHbg7Fm507_unxfo3DGuO1FtJSgMsd_cyrkM,1069
18
+ 8_bit_human-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ 8-bit-human = eight_bit_human.__main__:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Yuvraj Singh
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,4 @@
1
+ """8-BIT HUMAN - terminal survival roguelike."""
2
+
3
+ __all__ = ["__version__"]
4
+ __version__ = "0.1.0"
@@ -0,0 +1,27 @@
1
+ from __future__ import annotations
2
+
3
+ import sys
4
+
5
+
6
+ def main() -> int:
7
+ try:
8
+ from .app import main as run_app
9
+ except ModuleNotFoundError as e:
10
+ if e.name == "textual" or (e.name and e.name.startswith("textual.")):
11
+ print(
12
+ "Missing dependency: textual\n\n"
13
+ "Install dependencies and run with:\n"
14
+ " python -m pip install -e .\n"
15
+ " 8-bit-human\n\n"
16
+ "Or for local dev:\n"
17
+ " python -m pip install textual\n"
18
+ " PYTHONPATH=src python3 -m eight_bit_human",
19
+ file=sys.stderr,
20
+ )
21
+ return 1
22
+ raise
23
+ return run_app()
24
+
25
+
26
+ if __name__ == "__main__":
27
+ raise SystemExit(main())