Metadata-Version: 2.5
Name: 8-bit-human
Version: 0.1.0
Summary: A satirical terminal survival roguelike where RAM is the last human resource.
Project-URL: Homepage, https://github.com/yuvraj0028/8_bit_human
Project-URL: Repository, https://github.com/yuvraj0028/8_bit_human
Project-URL: Issues, https://github.com/yuvraj0028/8_bit_human/issues
Author-email: Yuvraj Singh <yuvraj.work28@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: ascii,game,roguelike,terminal,textual,tui
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Games/Entertainment :: Role-Playing
Requires-Python: >=3.12
Requires-Dist: textual>=0.80.0
Provides-Extra: dev
Requires-Dist: build>=1.2; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.6; extra == 'dev'
Requires-Dist: twine>=5.0; extra == 'dev'
Description-Content-Type: text/markdown

# 8-BIT HUMAN

*The last human resource is running out.*

**Tagline:** In a world full of artificial intelligence, being human is a premium feature.

`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.

## Concept
- **Genre:** Survival roguelike (TUI)
- **Platform:** Linux, macOS, Windows (ANSI-compatible terminals)
- **Core loop:** Explore → Scavenge RAM/resources → Survive encounters → Upgrade → Defeat boss → Extract
- **Lose conditions:** `OUT OF MEMORY` (RAM 0) or `HUMANITY LOST` (Humanity 0)

## Status
Playable prototype with Phase 2/3 iteration features implemented on top of MVP.
- [Game Plan](docs/GAME_PLAN.md)
- [MVP Spec](docs/MVP_SPEC.md)

## Stack
- **Language:** Python 3.12+
- **TUI:** Textual (+ Rich)
- **Distribution:** `pip`/`pipx`/`uv` (offline-capable runtime)

## Setup & Run
```bash
# create venv and install (recommended)
uv venv .venv
uv pip install -e ".[dev]" -p .venv/bin/python

# run
.venv/bin/8-bit-human
# or (with venv activated)
python -m eight_bit_human
```

Without `uv`, use standard venv/pip:
```bash
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
8-bit-human
```

## Controls
- Move: Arrow keys / WASD / `hjkl`
- Wait (recover CPU): `.` or Space
- Interact / Shop / Event / Ending choice: `e` or Enter
- **Inspect map:** `x` (move cursor to examine any tile; `x` or `Esc` to exit inspect mode)
- Scan (if unlocked): `v`
- Save: `Ctrl+S` (autosaves on menu; finished runs clear save)
- Help: `?`
- Menu from game: `q` or `Esc` (exits inspect mode first)

## Features (Current Iteration)
- **3-sector run progression:** GPU Graveyard → Token Desert → Cloud Kingdom (stats/upgrades carry over)
- **Core resources:** RAM, CPU, Tokens, Humanity
- **Enemies:** Leak Slime, Rate Limiter, Prompt Injector, Hallucination Bot, Memory Leak Monster
- **Bosses:** Context Window Colossus, GPU Overlord, The Model That Cannot Be Stopped (boss spawns on EX; EX is hidden/locked until boss is defeated)
- **NPC parody encounters:** choice-driven events (Sam All-Tokens, Open Weight collective, Jensen RAMg)
- **Endings (final sector):** Independent Human, Open-Source Liberation, Corporate Merge, Singularity Merge
- **Daily challenge:** deterministic daily seed with tuned starting resources
- **Meta:** local profile/achievements, run stats, shareable ASCII death/victory certificate
- **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`)

## Development
```bash
# in project venv
.venv/bin/python -m compileall src tests
.venv/bin/python -m pytest -q
```

## Design Pillars
1. **Resource tension** — every action has a compute cost
2. **Retro terminal feel** — readable ASCII/Unicode with graceful fallbacks
3. **Satirical AI-era humor** — witty, developer-centric parody
4. **Replayability** — procedural runs, builds, and meaningful choices

## License
[MIT](LICENSE)