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 .

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.0.tar.gz (79.9 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.0-py3-none-any.whl (81.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: five_borough_burn-0.1.0.tar.gz
  • Upload date:
  • Size: 79.9 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.0.tar.gz
Algorithm Hash digest
SHA256 3fa2dc1b4042551f9a3cfb1783065c6f17f805c7438d8961c1f53510c6a53581
MD5 9e42447878fefb1d0bc57ccecdd512fb
BLAKE2b-256 f4de4457472a8e555c80fc0ec91ba55d42d5a3dd2a8e51ae025fc6e53d718474

See more details on using hashes here.

Provenance

The following attestation bundles were made for five_borough_burn-0.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for five_borough_burn-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bbab38681af93bf21ff3b4cb88769af0db351ff302a3e958db41f525e83e8261
MD5 76932f73a9cda9a26c223f16618da47e
BLAKE2b-256 a744ab15467f0054b1eb12ff82c2e5b368732e6bad56454b29cf42e646030947

See more details on using hashes here.

Provenance

The following attestation bundles were made for five_borough_burn-0.1.0-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