From 1082f3336085c15992ca83d5553c0ba52208d70a Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 1 Oct 2026 14:38:08 -0400 Subject: feat: pai gow poker added to the casino --- AGENTS.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 AGENTS.md (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..d81deca --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,37 @@ +# AGENTS.md + +Guidance for AI coding agents working in this repository. + +## Documentation layout + +- `building_guide/` is for **human world builders only**: how to author the + game's YAML content (rooms, objects, mobs, items, drops, triggers, quests, + casino tables, and so on). See its README for the index. +- `dev_guide/` is for **engine internals**: architecture, concurrency, + durability contracts, presentation internals, and per-game implementation + notes. Code comments that cite documentation must point here. +- `README.md` is the project front page; keep it short and player/operator + oriented. + +When writing documentation, pick the right directory by audience, not by +topic: + +1. A builder placing a Pai Gow table reads `building_guide/pai_gow.md`. +2. Someone changing hand evaluation reads `dev_guide/pai_gow.md`. +3. If an article mixes both, split it across the two guides and cross-link. + +**Do not** use `building_guide/` as a scratch space: no TODOs, roadmaps, +progress logs, implementation assessments, or "future work" sections. If +you find yourself writing one, put it in `dev_guide/`, a code comment, or +delete it. Conversely, don't bury builder-relevant configuration examples +in `dev_guide/` — builders read only `building_guide/`. + +## House rules + +- Go: keep tests deterministic (seeded RNG); money flows through + `internal/casino/credits.go` helpers; run `go test ./...` before handing + work back. +- YAML data files are validated at startup; run the server or the validate + tests after editing anything under `data/`. +- If a test or code comment names a documentation file, that file must + exist at the cited path; update both together. -- cgit v1.2.3