2.4 KiB
2.4 KiB
ModBison (Project & Agent Guidelines)
CRITICAL REBRANDING NOTICE
- Game Name: ModBison (formerly
agp-game).
- "ModBison" represents a play on game modification and the 1960s British "mod" subculture, adhering to the user's "bison" project naming convention (e.g. host machine
cloudbison, Windows client machinepinkbison, social platformWiseBison).- In-Game Currency: Buffalo Chips (formerly
Credits/CR).
- Named playfully after bison poop. Displayed throughout all UI menus, wallet, marketplace, and creator payout screens as "Buffalo Chips".
- Git Repository:
- Local clone path:
/home/daddy/modbison(symlinked as/home/daddy/agp-game-devfor backwards compatibility).- Gitea repository name:
modbison- Clone URL:
http://localhost:3000/daddy/modbison.git- Web UI:
https://git.cloudbison.duckdns.org/daddy/modbison- Binaries & Exports:
- Windows:
modbison.exe(legacy aliasagp-game.exemaintained for backwards compatibility)- Linux:
modbison.x86_64
Architecture Overview
-
Client: Godot 4.6.2 (GDScript).
- Headless engine binary located at
~/godot/godot. - Export presets defined in
export_presets.cfg. - Main scenes in
res://scenes/(main_menu.tscn,world_3d.tscn,wallet_ui.tscn,marketplace_ui.tscn,selling_payout_ui.tscn, etc.). - Scripts in
res://scripts/.
- Headless engine binary located at
-
Backend: FastAPI + SQLAlchemy (asyncpg) + Alembic in
backend/.- Python environment:
/home/daddy/agp/venv(or project.venv). - Runtime game server supervisor allocates headless Godot instances per active world session under
/tmp/modbison-game-servers.
- Python environment:
-
Orchestration & Playtesting (
/home/daddy/agp):- PM Dashboard:
http://localhost:7070(agp-dashboard.service). - Checkpoint system:
pm/checkpoint_ops.pycontrols playtest instances (PC1throughPC4). - Current active checkpoint: PC4 (backend on
http://192.168.58.138:28004, postgres on25544). - Building Windows package:
PYTHONPATH=. /home/daddy/agp/venv/bin/python3 -c "import pm.checkpoint_ops as ops; ops.build_exe('PC4')"
- PM Dashboard:
-
Testing Protocols:
- Headless smoke tests:
AGP_API_BASE_URL=http://127.0.0.1:28004 ~/godot/godot --headless --path . --script res://scripts/smoke_test_<name>.gd - Backend pytest:
PYTHONPATH=. /home/daddy/agp/venv/bin/pytest backend/tests
- Headless smoke tests: