Skip to main content

AI-driven NYC terminal hustler sim.

Project description

Five Borough Burn

Five Borough Burn is a terminal-first NYC hustler sim with a live burner-phone layer.

The game uses your local Codex CLI session as the narrative engine. That means:

  • the run setup can change every playthrough
  • contacts can have different names, voices, districts, and hooks each run
  • live burner replies, city wire updates, and street pulse events can be generated on demand

Requirements

  • Python 3.11+
  • a terminal with curses support
  • the codex CLI installed and already authenticated
  • a readable Codex auth file at ~/.codex/auth.json

Install

From the repo:

pip install .

On Windows, pip install five-borough-burn now pulls windows-curses automatically as of 0.1.1.

If you want to host online multiplayer rooms too:

pip install ".[online]"

Then launch:

five-borough-burn

You can still run from source if you want:

python main.py

If a minimal Termux Python cannot build the package offline, unzip the source release and run python main.py directly, or install setuptools first and rerun pip install ..

Useful Commands

Smoke test:

python main.py --smoke

Refresh the cached dialog pack:

python main.py --refresh-dialog-pack

Terminal multiplayer client:

five-borough-burn-online --server http://127.0.0.1:8000

Terminal multiplayer room server:

five-borough-burn-roomd --host 127.0.0.1 --port 8000

Controls

  • t travel
  • b buy
  • s sell
  • l borrow or repay
  • u upgrade stash
  • m burner phone
  • i intel
  • ? help
  • q quit

Runtime Data

The installed game writes runtime data to:

~/.five-borough-burn/

That folder holds:

  • highscores
  • dialog cache
  • multiplayer session resume data

You can override it with:

FBB_HOME=/some/path five-borough-burn

Release Build

Create distributable source archives with:

python tools/build_release.py

That script:

  • runs the smoke test first
  • creates source .zip and .tar.gz bundles in dist/
  • writes SHA256SUMS.txt
  • builds a wheel and sdist too if the build module is installed locally

If you want wheel builds as well:

pip install build
python tools/build_release.py

Publish

Package metadata lives in pyproject.toml, so standard Python publishing works:

python -m build
python -m twine upload dist/*

build and twine are not bundled with this repo by default.

For automated publishes, the repo also includes GitHub Actions trusted-publishing workflow config at .github/workflows/release.yml. Once a PyPI account/project is configured to trust B11-Health/five-borough-burn and that workflow file, future GitHub releases can publish to PyPI without storing a long-lived API token.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

five_borough_burn-0.1.1.tar.gz (80.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

five_borough_burn-0.1.1-py3-none-any.whl (82.1 kB view details)

Uploaded Python 3

File details

Details for the file five_borough_burn-0.1.1.tar.gz.

File metadata

  • Download URL: five_borough_burn-0.1.1.tar.gz
  • Upload date:
  • Size: 80.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for five_borough_burn-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bd64f22b8bb5a56ef1151dd520cfabf3dcd5e92c956a8a389c3d4c16aaffbd79
MD5 03048793b35e0df16b541e70b1a4dd6a
BLAKE2b-256 67bb45a72fc6ca34277635582dba803bcd5f5755829ce3f3551333bead00d620

See more details on using hashes here.

Provenance

The following attestation bundles were made for five_borough_burn-0.1.1.tar.gz:

Publisher: release.yml on B11-Health/five-borough-burn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file five_borough_burn-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for five_borough_burn-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 52f39b023cf30b888bdb85e55425c6f09f4b26aac0993b955d5a88a53a90fdca
MD5 400271e7c05f0215dde5f5cffeebb215
BLAKE2b-256 dc99f2f84b58593ed5d9ac6d64429e804a7c6b2caaccd59c1c0398284972c89b

See more details on using hashes here.

Provenance

The following attestation bundles were made for five_borough_burn-0.1.1-py3-none-any.whl:

Publisher: release.yml on B11-Health/five-borough-burn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page