[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F2APZ87G3H6MN7E2YVMEZC":3,"skill-same:01M7F2APZ87G3H6MN7E2YVMEZC":314},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7F2APZ87G3H6MN7E2YVMEZC","game-balance-and-bots",null,"Tunes game difficulty with seeded headless bots: sim reports, balance bands, tuning knobs, a fun-in-seconds test. Use when balancing, tuning pacing or adding bots or sims. Not for solvers or par (level-generation-and-solvers).","zakariaf\u002FReactNative-Skills","zakariaf","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2259803?v=4","01M7DEF0YMPS6Y6RQ4WGA0JH9R","Zakaria Fatahi","01M7F1VKYEK96M7SYJE1EPGD0A",13,"MIT","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: game-balance-and-bots\ndescription: \"Tunes game difficulty with seeded headless bots: sim reports, balance bands, tuning knobs, a fun-in-seconds test. Use when balancing, tuning pacing or adding bots or sims. Not for solvers or par (level-generation-and-solvers).\"\n---\n\n# Game balance and bots\n\nEvery game is played thousands of times headless by seeded bots before a person plays it. The sims\nmeasure the difficulty curve, whether skill matters, how soon the first win moment comes and whether\nthe twist happens; a bands file says what \"balanced\" means; every balance number lives in one tuning\nfile. This skill builds the harness once (`src\u002Fcore\u002Fgame-balance\u002F`, `test\u002Fsims\u002Fwrite-sim-report.ts`),\neach game's bots, sims and bands, and the check that judges the numbers.\n\n## Rules that must hold\n\n1. **Bots play only through the pure engine contract** (`create`, `listMoves`, `applyMove`,\n   `outcome`), headless in plain Node via `jest.sim.config.js`, never through the UI. Why: the same\n   rules the app runs are measured, in seconds, with no React Native mock.\n2. **Every run is deterministic:** seeds `1…seedsPerCell`, the bot's own seeded RNG, no\n   `Math.random`, `Date`, `performance.now`, retries, skips or focus; the report has no timestamps.\n   Why: a rerun gives identical bytes, so a diff of the report shows exactly what a change did, and\n   chosen seeds could shop for numbers.\n3. **Every run has a hard move cap, and no run may reach it** (`capHits` = 0). Why: a stuck or\n   endless game is a rules bug that a bot finds long before a player does.\n4. **Use the three standard players:** `random` (the baseline), a reasonable player (the testing\n   spec's `bot`: `greedyPolicy` by default) and `lookahead` (the upper bound; it sees the seeded\n   future). In a game that draws during play (dice, cards, spawns), the reasonable player is a rule a\n   person could follow and never peeks at the next draw: `greedyPolicy` would. Skill must matter:\n   random \u003C reasonable \u003C lookahead by a clear step. Why: if naive play does as well as sensible play,\n   the choices are fake; a peeking player measures nothing a person meets.\n5. **A sim asserts properties of at least 100 seeds per cell, never a single outcome,** and writes\n   `reports\u002Fsim\u002F\u003Cgame-id>.json` before its assertions. Why: one game proves nothing about balance, and\n   a failing run must still leave numbers to read.\n6. **Every balance number lives in `src\u002Fgames\u002F\u003Cgame-id>\u002Frules\u002F\u003Cgame-id>-tuning.ts`** (real-time games:\n   `sim\u002F\u003Cgame-id>-tuning.ts`, a `'worklet'` module): documented knobs plus a per-difficulty table read\n   through `knobsFor`; the rules contain no other balance numbers. Why: one place to tune, and a diff\n   shows every balance change.\n7. **Difficulty is one scale, whole numbers 0..100, never a table index.** `knobsFor(d)` returns the\n   endless row at 100 (`ENDLESS_DIFFICULTY`, no goal, never won) and otherwise the row\n   `rowFor(d, rows)` picks, with a `reduce` over the table; the grid samples the lower bound of each\n   row (`[0, 25, 50, 75]` for four rows), and an endless mode gets its own `endless` block at 100,\n   never a step of the curve. Why: levels (0..99), a daily and saved runs all use this scale; a 0..3\n   index makes every level above 3 play the hardest row.\n8. **Balance is a contract in `test\u002Fsims\u002F\u003Cgame-id>\u002Fbalance-bands.json`:** the bands hold, the curve\n   moves monotonically by `minStep`, the skill gap holds, the first payoff comes early, the twist\n   happens, and the endless run is never won and stays inside its own bands. Never widen a band, cut\n   or change seeds, or tune the bot to go green. Why: bands are the design record; moving them hides\n   the problem instead of fixing the game.\n9. **The fun-within-seconds kill test:** on the easiest level the reasonable player reaches the first\n   payoff within 1-3 moves (2 for single-tap moves; seconds for real-time games: `runSimBot` with\n   `payoffStepTicks: 120`) in at least 90 % of runs, and the twist fires at least once per run. If\n   even the lookahead bot cannot, stop and report to the developer. Why: prototype bots showed ideas\n   fail here structurally (a loop-closing snake caught nothing in 13 foreseen moves; a crash puzzle's\n   twist came 0.25 times per game).\n10. **A report counts only for the code it measured:** its fingerprint covers the game's `rules\u002F`,\n    `levels\u002F` (without the generated `pack-*.json`), `sim\u002F`, `geom\u002F` and `testing\u002F` folders, the sim\n    file and the `src\u002Fcore` files they import (the sim's import closure), and game logic imports\n    nothing outside them; rerun `npm run test:sim` after any change there. Why: stale numbers approve\n    code that no longer exists.\n11. **Change the game, not the player:** improve a bot's evaluation only to match reasonable human\n    play, never to reach a band; decide the payoff and twist tags before the first run. Why: a bot or\n    a tag tuned to the bands measures nothing.\n12. **A person's play-test is the final judge, and it never blocks:** bands stay `\"proposed\"` until a\n    person has played on an iPhone and an Android phone and agreed, then become `\"approved\"` with a\n    date. Until then every report lists it under \"Human checks (not blocking)\", and\n    `check-balance.mjs --release` prints a `HUMAN CHECK (not blocking)` line, not a problem. Why: bots\n    measure pace, not joy; the person's feel wins whenever it comes, and nothing waits for it.\n13. **Bot numbers hold on both platforms only through pure, seeded rules and fixed ticks.** Sims run in\n    Node (V8), the app on Hermes on iOS and Android; a real-time sim counts fixed ticks, never display\n    frames (60 Hz Android phones, 120 Hz iPhones). Why: a balance claim that depends on the engine,\n    the frame rate or the device is not a claim about the game.\n\n## Workflow\n\n1. **Pick the job.** First harness setup: step 2. A game's bots and sims: steps 3-8. Retuning: steps\n   6-8. Judging a new idea early: read [references\u002Ffun-and-kill-test.md](references\u002Ffun-and-kill-test.md),\n   then steps 3-5 at the easiest difficulty only. Always finish with steps 9-10.\n2. **Harness (once per app).** Read [references\u002Fbots-and-sims.md](references\u002Fbots-and-sims.md). The\n   game kit (`src\u002Fcore\u002Fgame\u002F`, `src\u002Fcore\u002Frng\u002Fsfc32.ts`) comes from game-rules-engine. Run\n   `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-balance.mjs .`; for every `harness-missing`,\n   `harness-outdated` or `sim-config` line copy the file from `templates\u002F` verbatim\n   (`src\u002Fcore\u002Fgame-balance\u002F*` with tests, `test\u002Fsims\u002Fwrite-sim-report.ts` with its test,\n   `jest.sim.config.js`), keep `\"test:sim\": \"jest --ci --config jest.sim.config.js\"` in\n   `package.json`, and make the unit project of `jest.config.js` ignore `\\\\.sim\\\\.test\\\\.` (both are\n   in the canonical configs). Run `npx jest src\u002Fcore\u002Fgame-balance test\u002Fsims\u002Fwrite-sim-report.test.ts --ci --selectProjects unit`\n   (paths first: `--selectProjects` swallows every following word).\n3. **Tuning file.** Read [references\u002Ftuning-playbook.md](references\u002Ftuning-playbook.md) first. The\n   game already has `rules\u002F\u003Cgame-id>-tuning.ts` from game-rules-engine's template. Name the knobs for\n   the game (document each per-difficulty knob once, on the knobs type), move every balance number of\n   the rules into it and read them through `TUNING` and `knobsFor(difficulty)`, keeping the `rowFor` +\n   `reduce` lookup. A game with an endless mode adds the endless row and returns it first for\n   `isEndlessDifficulty(difficulty)`: [examples\u002Fpig\u002Fsrc\u002Fgames\u002Fpig\u002Frules\u002Fpig-tuning.ts](examples\u002Fpig\u002Fsrc\u002Fgames\u002Fpig\u002Frules\u002Fpig-tuning.ts).\n4. **Bot hooks, test-first.** Copy `templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Ftesting\u002F__GAME_ID__-bot.ts` and\n   its test (Lights Out's hooks; replace `__GAME_ID__`, `__GAME_PASCAL__` and `__GAME_CAMEL__`) and\n   rewrite them for the game: `evaluate\u003CGame>`, `scoreOf\u003CGame>` (the number the HUD shows),\n   `tag\u003CGame>Event` (payoff and twist, decided now) and the reasonable player; then set it as `bot` in\n   `testing\u002F\u003Cgame-id>-testing.ts`. A game that draws during play writes the reasonable player as a rule\n   ([examples\u002Fpig\u002Fsrc\u002Fgames\u002Fpig\u002Ftesting\u002Fpig-bot.ts](examples\u002Fpig\u002Fsrc\u002Fgames\u002Fpig\u002Ftesting\u002Fpig-bot.ts)).\n   When the levels are proven by the reasonable player (a witness), put the evaluation in\n   `rules\u002F\u003Cgame-id>-evaluate.ts` and re-export it: `levels\u002F` may not import `testing\u002F`. A real-time\n   game exports its `SimBotGame` hooks and the `idle`, `wander` and `dodge` command policies\n   ([examples\u002Farena-chase\u002Fsrc\u002Fgames\u002Farena-chase\u002Ftesting\u002Farena-chase-bot.ts](examples\u002Farena-chase\u002Fsrc\u002Fgames\u002Farena-chase\u002Ftesting\u002Farena-chase-bot.ts)).\n5. **Sim and bands.** Copy `templates\u002Ftest\u002Fsims\u002F__GAME_ID__\u002F` to `test\u002Fsims\u002F\u003Cgame-id>\u002F`, replace the\n   placeholders, set the grid to the lower bound of each tuning row (the template's `[0, 34, 67]` are\n   Lights Out's three), name the policies, and for an endless mode replace `\"endless\": null` with its\n   block ([references\u002Fbalance-contract.md](references\u002Fbalance-contract.md), \"Endless mode\"). Run\n   `npx eslint --fix` and `npx prettier --write` on it, then\n   `npx jest test\u002Fsims\u002F\u003Cgame-id> --ci --config jest.sim.config.js`. The first run writes the report\n   even if the bands fail. Real-time games play through `runSimBot` instead of `traceBot`\n   ([examples\u002Farena-chase\u002Ftest\u002Fsims\u002Farena-chase\u002Fbalance.sim.test.ts](examples\u002Farena-chase\u002Ftest\u002Fsims\u002Farena-chase\u002Fbalance.sim.test.ts)).\n6. **Read and tune.** Fix what is broken first (cap hits, replay differences, no early payoff, no\n   twist), then tune one knob at a time with the tuning loop and the symptom table, rerunning the sim\n   after each change and reading `lossReasons`.\n7. **Write the bands** around the tuned numbers with a margin and a `why` per band, and the story in\n   `notes` in plain words; keep `\"status\": \"proposed\"`.\n8. **Kill test verdict.** If the first payoff or the twist cannot be reached after reasonable tuning,\n   stop and tell the developer (fun-and-kill-test.md, \"When a game fails\"). Do not polish a game that\n   fails it.\n9. **Run the check** (run, fix, rerun until `RESULT: PASS`): `npm run test:sim`, then\n   `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-balance.mjs .` (add `--game \u003Cgame-id>` for one game).\n   Options, config keys and troubleshooting: [references\u002Fchecker.md](references\u002Fchecker.md).\n10. **Report and hand over.** Put the plain-language \"Bots\" line per difficulty (numbers from the\n    report) in the evidence report and \"Play-test \u003Cgame> on an iPhone and an Android phone\" under\n    \"Human checks (not blocking)\" until a person has done it; when they agree, set\n    `\"status\": \"approved\"` and `\"approvedOn\"`. Before a release run the check with `--release`: it\n    passes with proposed bands and prints the `HUMAN CHECK (not blocking)` line to copy into the\n    release report. The sims pass before level-generation-and-solvers generates the level tables; a\n    tuning change after they exist regenerates them in the same commit with a `Gate-Change:` trailer.\n\n## Definition of done\n\n- [ ] The harness files and their unit tests are in place and green; `npm run test:sim` exists and\n      never runs inside `npm test`.\n- [ ] Each game has a documented tuning file on the 0..100 scale (`rowFor` + `reduce`, an endless row\n      only with an endless mode) with its test, bot hooks with tests (a non-peeking reasonable player\n      when the game draws during play), `test\u002Fsims\u002F\u003Cgame-id>\u002Fbalance.sim.test.ts` and\n      `balance-bands.json` with `notes` (grid 0..99, the endless block when the game has one).\n- [ ] `npm run test:sim` passes: no cap hits, identical replays, every band, the curve, the skill gap,\n      the first payoff and the twist; one sim file runs in about 60 s or less.\n- [ ] `reports\u002Fsim\u002F\u003Cgame-id>.json` is fresh and its numbers are in the evidence report in plain words.\n- [ ] For a release: the check passes with `--release`; each `HUMAN CHECK (not blocking)` line is in\n      the report's \"Human checks (not blocking)\" list.\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-balance.mjs .` prints `RESULT: PASS`\n\nA passing run may print `SKIP src\u002Fcore\u002Fgame\u002Ftesting\u002Fplay-bot.ts [harness-missing] not yet created (game-rules-engine creates it)`\nbefore the kit is installed. An app with no game prints\n`NOT APPLICABLE: the app has no game (no src\u002Fgames\u002F\u003Cgame-id>\u002F folder with rules\u002F or sim\u002F)`.\n\n## Anti-patterns\n\n- **Balancing by playing a few games by hand, or by one seed.** Balance is a distribution; run 100+\n  seeds per cell and read the spread (`p10Moves`, `p90Moves`, `lossReasons`).\n- **Loosening a band, lowering `minStep` or trimming seeds to get green.** Change a knob, or bring the\n  developer a design question.\n- **A smarter bot to rescue a failing curve, or a greedy bot that peeks at the next roll.** If random ≈\n  reasonable, the game's choices are weak; fix the rules. A peeking bot never loses a turn's points and proves nothing.\n- **Renaming the payoff after a failing run.** Decide the tags first and write why in `notes`.\n- **Balance numbers scattered through the rules** (`hearts: 3` in `create.ts`). Move them into the\n  tuning file with a comment.\n- **A sim that needs React Native, a clock or `Math.random`.** The rules must be pure and seeded.\n- **Trusting a report after changing the rules.** The fingerprint makes it stale; rerun the sims.\n- **Tuning the whole difficulty table at once.** Change one knob, rerun, compare the two reports.\n- **Difficulty as a table index, or 100 in the grid.** Use `rowFor` and the `endless` block.\n- **`table[index] ?? table[0]`.** The fallback never runs and fails the per-file branch threshold.\n- **Polishing a game that fails the kill test.** Art and sound cannot fix a first payoff that never\n  comes; stop and ask the developer.\n\n## Files in this skill\n\n| File | What it is | Read\u002Frun when |\n|---|---|---|\n| [references\u002Fbots-and-sims.md](references\u002Fbots-and-sims.md) | The harness, what a bot needs, the three players, non-peeking players, bot hooks, tags, the sim file, real-time games, determinism on iOS and Android, speed, debugging, reporting, multi-package | Workflow steps 2, 4 and 5 |\n| [references\u002Fbalance-contract.md](references\u002Fbalance-contract.md) | The report fields, the fingerprint, the bands file, endless mode, setting bands, approval as a human check, how the check judges | Steps 6, 7 and 10 |\n| [references\u002Ftuning-playbook.md](references\u002Ftuning-playbook.md) | The tuning file, knob families, the curve, the tuning loop, symptoms and what to turn, the Pig tuning log, levels and daily | Steps 3 and 6 |\n| [references\u002Ffun-and-kill-test.md](references\u002Ffun-and-kill-test.md) | Why seconds matter, the kill test, what prototype bots revealed, openings built for an early payoff, choosing payoff and twist, when to stop | Steps 1 and 8 |\n| [references\u002Fchecker.md](references\u002Fchecker.md) | The checker's folders, options, config keys, every rule, expected SKIP\u002FNOT APPLICABLE\u002FHUMAN CHECK lines, troubleshooting | Step 9, when a line is unclear |\n| `templates\u002Fsrc\u002Fcore\u002Fgame-balance\u002F` | `trace-bot`, `bot-policies`, `sim-stats`, `balance-bands`, `parse-balance-bands`, `run-sim-bot`, each with its test | Step 2 (copy verbatim) |\n| [templates\u002Ftest\u002Fsims\u002Fwrite-sim-report.ts](templates\u002Ftest\u002Fsims\u002Fwrite-sim-report.ts) | `SIM_LAYOUT`, `rulesFingerprint` over the sim's import closure (`fingerprintFiles`) and `writeSimReport` | Step 2 |\n| [templates\u002Ftest\u002Fsims\u002Fwrite-sim-report.test.ts](templates\u002Ftest\u002Fsims\u002Fwrite-sim-report.test.ts) | Its test: unrelated core or screen files and generated level tables leave the fingerprint unchanged; an imported core file (even through another), a rules file or the level plan changes it | Step 2 |\n| [templates\u002Fjest.sim.config.js](templates\u002Fjest.sim.config.js) | Plain-Node Jest config for `*.sim.test.ts` (synced canonical file; do not edit here) | Step 2 |\n| [templates\u002Ftest\u002Fsims\u002F__GAME_ID__\u002Fbalance.sim.test.ts](templates\u002Ftest\u002Fsims\u002F__GAME_ID__\u002Fbalance.sim.test.ts) | A game's sim: plays the grid, writes the report, asserts the bands | Step 5 |\n| [templates\u002Ftest\u002Fsims\u002F__GAME_ID__\u002Fbalance-bands.json](templates\u002Ftest\u002Fsims\u002F__GAME_ID__\u002Fbalance-bands.json) | The template game's balance contract (Lights Out's measured bands on three rows, `endless: null`) | Steps 5 and 7 |\n| [templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Ftesting\u002F__GAME_ID__-bot.ts](templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Ftesting\u002F__GAME_ID__-bot.ts) | Lights Out's bot hooks: `evaluate` (fewer lit cells, a board one press from dark valued as a person sees it), `scoreOf`, `tag`, the greedy reasonable player | Step 4 |\n| [templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Ftesting\u002F__GAME_ID__-bot.test.ts](templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Ftesting\u002F__GAME_ID__-bot.test.ts) | Its test | Step 4 |\n| `templates\u002Fsrc\u002Fcore\u002Fgame\u002F` | Synced copies (assets\u002Fshared.json) of game-rules-engine's `game-engine.ts`, `difficulty.ts` and `testing\u002Fplay-bot.ts` (with tests), so the templates compile alone; never edit here, keep that skill's files | Never copy over that skill's kit |\n| `templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002F` | Synced copies of game-rules-engine's template game (Lights Out: types, tuning with its test, create, toggle-cells, list-moves, outcome, apply-move) that the bot template and the self-test need; never edit here | Step 3, as the tuning model |\n| `examples\u002Fpig\u002F` | Pig, the turn-based model: the tuned tuning file with an endless row, a non-peeking reasonable player and its test, the sim, bands with an endless block and the real report (the game's rules are game-rules-engine's Pig example) | Steps 3-7 for a game that draws during play or has an endless mode |\n| `examples\u002Farena-chase\u002F` | The real-time model: a fixed-step sim and `'worklet'` tuning file (+ replay tests), `SimBotGame` hooks and the idle\u002Fwander\u002Fdodge command policies (+ tests), a `runSimBot` sim, bands in ticks and seconds, and its real report | Steps 3-7 for a real-time game |\n| `scripts\u002Fcheck-balance.mjs` | Checks the sim config, harness, sims, seeds, bot hooks, tuning file, fingerprint scope and bands, and judges each report; `--release` prints unapproved bands as a HUMAN CHECK line | Steps 2, 9 and 10 |\n| `scripts\u002Flib\u002Fbalance.mjs` | Folders and options, the JavaScript port of the fingerprint and the bands rules | When changing the checker |\n| `scripts\u002Fselftest.mjs` | Proves the checker passes the templates and both examples and catches every planted bug | After changing the checker, a template or an example |\n| `scripts\u002Fcheck-lib.mjs` | Shared script library, synced (do not edit here) | Never by hand |\n| `assets\u002Fshared.json` | Declares the synced files (check-lib, the sim Jest config, game-rules-engine's kit and template rules copies) | When adding a shared file |\n| `assets\u002Ftemplate-placeholders.json` | The values the self-test and template verification fill in (`lights-out`) | When adding a placeholder |\n| `tests\u002Fbuild-fixtures.mjs` | Writes the overlay cases (ops, EXPECT lines with computed file:line, re-stamped fingerprints) | After changing a template, an example or the checker |\n| `tests\u002Fbases\u002Fapp\u002F` | The minimal app the fixtures lay the templates and examples on, with Lights Out's real report | When the fixture base changes |\n| `tests\u002Ffixtures\u002F` | `check-balance\u002F`: `good\u002F`, one `bad-*` per rule and planted bug, `pass-*` (before the kit, wrapped table, release with proposed bands, core growth, packs after sims, installed skills, no game, custom games folder, one game) and `error-*` cases | When adding a rule |\n\n## Related skills\n\n- `game-rules-engine` - the engine contract, the kit, the determinism policy and the sfc32 PRNG the bots drive.\n- `level-generation-and-solvers` - solvers, par, stars, level tables and the witness that plays them.\n- `realtime-game-loop` - the fixed-step sims that `runSimBot` plays headless.\n- `new-game-scaffold` - where a new game's tuning file, bot hooks and sim start.\n- `quality-gates` - `test:sim` inside the verify plan and the gated paths.\n- `git-commits-and-reporting` - the evidence report, Human checks (not blocking) and the Gate-Change trailer.\n- `unit-and-component-tests` - the Jest projects, `jest.sim.config.js` and the coverage gates.\n- `audio-and-haptics-feedback` - sounds and haptics for the payoff moments the sims find.\n","# Game balance and bots\n\nEvery game is played thousands of times headless by seeded bots before a person plays it. The sims\nmeasure the difficulty curve, whether skill matters, how soon the first win moment comes and whether\nthe twist happens; a bands file says what \"balanced\" means; every balance number lives in one tuning\nfile. This skill builds the harness once (`src\u002Fcore\u002Fgame-balance\u002F`, `test\u002Fsims\u002Fwrite-sim-report.ts`),\neach game's bots, sims and bands, and the check that judges the numbers.\n\n## Rules that must hold\n\n1. **Bots play only through the pure engine contract** (`create`, `listMoves`, `applyMove`,\n   `outcome`), headless in plain Node via `jest.sim.config.js`, never through the UI. Why: the same\n   rules the app runs are measured, in seconds, with no React Native mock.\n2. **Every run is deterministic:** seeds `1…seedsPerCell`, the bot's own seeded RNG, no\n   `Math.random`, `Date`, `performance.now`, retries, skips or focus; the report has no timestamps.\n   Why: a rerun gives identical bytes, so a diff of the report shows exactly what a change did, and\n   chosen seeds could shop for numbers.\n3. **Every run has a hard move cap, and no run may reach it** (`capHits` = 0). Why: a stuck or\n   endless game is a rules bug that a bot finds long before a player does.\n4. **Use the three standard players:** `random` (the baseline), a reasonable player (the testing\n   spec's `bot`: `greedyPolicy` by default) and `lookahead` (the upper bound; it sees the seeded\n   future). In a game that draws during play (dice, cards, spawns), the reasonable player is a rule a\n   person could follow and never peeks at the next draw: `greedyPolicy` would. Skill must matter:\n   random \u003C reasonable \u003C lookahead by a clear step. Why: if naive play does as well as sensible play,\n   the choices are fake; a peeking player measures nothing a person meets.\n5. **A sim asserts properties of at least 100 seeds per cell, never a single outcome,** and writes\n   `reports\u002Fsim\u002F\u003Cgame-id>.json` before its assertions. Why: one game proves nothing about balance, and\n   a failing run must still leave numbers to read.\n6. **Every balance number lives in `src\u002Fgames\u002F\u003Cgame-id>\u002Frules\u002F\u003Cgame-id>-tuning.ts`** (real-time games:\n   `sim\u002F\u003Cgame-id>-tuning.ts`, a `'worklet'` module): documented knobs plus a per-difficulty table read\n   through `knobsFor`; the rules contain no other balance numbers. Why: one place to tune, and a diff\n   shows every balance change.\n7. **Difficulty is one scale, whole numbers 0..100, never a table index.** `knobsFor(d)` returns the\n   endless row at 100 (`ENDLESS_DIFFICULTY`, no goal, never won) and otherwise the row\n   `rowFor(d, rows)` picks, with a `reduce` over the table; the grid samples the lower bound of each\n   row (`[0, 25, 50, 75]` for four rows), and an endless mode gets its own `endless` block at 100,\n   never a step of the curve. Why: levels (0..99), a daily and saved runs all use this scale; a 0..3\n   index makes every level above 3 play the hardest row.\n8. **Balance is a contract in `test\u002Fsims\u002F\u003Cgame-id>\u002Fbalance-bands.json`:** the bands hold, the curve\n   moves monotonically by `minStep`, the skill gap holds, the first payoff comes early, the twist\n   happens, and the endless run is never won and stays inside its own bands. Never widen a band, cut\n   or change seeds, or tune the bot to go green. Why: bands are the design record; moving them hides\n   the problem instead of fixing the game.\n9. **The fun-within-seconds kill test:** on the easiest level the reasonable player reaches the first\n   payoff within 1-3 moves (2 for single-tap moves; seconds for real-time games: `runSimBot` with\n   `payoffStepTicks: 120`) in at least 90 % of runs, and the twist fires at least once per run. If\n   even the lookahead bot cannot, stop and report to the developer. Why: prototype bots showed ideas\n   fail here structurally (a loop-closing snake caught nothing in 13 foreseen moves; a crash puzzle's\n   twist came 0.25 times per game).\n10. **A report counts only for the code it measured:** its fingerprint covers the game's `rules\u002F`,\n    `levels\u002F` (without the generated `pack-*.json`), `sim\u002F`, `geom\u002F` and `testing\u002F` folders, the sim\n    file and the `src\u002Fcore` files they import (the sim's import closure), and game logic imports\n    nothing outside them; rerun `npm run test:sim` after any change there. Why: stale numbers approve\n    code that no longer exists.\n11. **Change the game, not the player:** improve a bot's evaluation only to match reasonable human\n    play, never to reach a band; decide the payoff and twist tags before the first run. Why: a bot or\n    a tag tuned to the bands measures nothing.\n12. **A person's play-test is the final judge, and it never blocks:** bands stay `\"proposed\"` until a\n    person has played on an iPhone and an Android phone and agreed, then become `\"approved\"` with a\n    date. Until then every report lists it under \"Human checks (not blocking)\", and\n    `check-balance.mjs --release` prints a `HUMAN CHECK (not blocking)` line, not a problem. Why: bots\n    measure pace, not joy; the person's feel wins whenever it comes, and nothing waits for it.\n13. **Bot numbers hold on both platforms only through pure, seeded rules and fixed ticks.** Sims run in\n    Node (V8), the app on Hermes on iOS and Android; a real-time sim counts fixed ticks, never display\n    frames (60 Hz Android phones, 120 Hz iPhones). Why: a balance claim that depends on the engine,\n    the frame rate or the device is not a claim about the game.\n\n## Workflow\n\n1. **Pick the job.** First harness setup: step 2. A game's bots and sims: steps 3-8. Retuning: steps\n   6-8. Judging a new idea early: read [references\u002Ffun-and-kill-test.md](references\u002Ffun-and-kill-test.md),\n   then steps 3-5 at the easiest difficulty only. Always finish with steps 9-10.\n2. **Harness (once per app).** Read [references\u002Fbots-and-sims.md](references\u002Fbots-and-sims.md). The\n   game kit (`src\u002Fcore\u002Fgame\u002F`, `src\u002Fcore\u002Frng\u002Fsfc32.ts`) comes from game-rules-engine. Run\n   `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-balance.mjs .`; for every `harness-missing`,\n   `harness-outdated` or `sim-config` line copy the file from `templates\u002F` verbatim\n   (`src\u002Fcore\u002Fgame-balance\u002F*` with tests, `test\u002Fsims\u002Fwrite-sim-report.ts` with its test,\n   `jest.sim.config.js`), keep `\"test:sim\": \"jest --ci --config jest.sim.config.js\"` in\n   `package.json`, and make the unit project of `jest.config.js` ignore `\\\\.sim\\\\.test\\\\.` (both are\n   in the canonical configs). Run `npx jest src\u002Fcore\u002Fgame-balance test\u002Fsims\u002Fwrite-sim-report.test.ts --ci --selectProjects unit`\n   (paths first: `--selectProjects` swallows every following word).\n3. **Tuning file.** Read [references\u002Ftuning-playbook.md](references\u002Ftuning-playbook.md) first. The\n   game already has `rules\u002F\u003Cgame-id>-tuning.ts` from game-rules-engine's template. Name the knobs for\n   the game (document each per-difficulty knob once, on the knobs type), move every balance number of\n   the rules into it and read them through `TUNING` and `knobsFor(difficulty)`, keeping the `rowFor` +\n   `reduce` lookup. A game with an endless mode adds the endless row and returns it first for\n   `isEndlessDifficulty(difficulty)`: [examples\u002Fpig\u002Fsrc\u002Fgames\u002Fpig\u002Frules\u002Fpig-tuning.ts](examples\u002Fpig\u002Fsrc\u002Fgames\u002Fpig\u002Frules\u002Fpig-tuning.ts).\n4. **Bot hooks, test-first.** Copy `templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Ftesting\u002F__GAME_ID__-bot.ts` and\n   its test (Lights Out's hooks; replace `__GAME_ID__`, `__GAME_PASCAL__` and `__GAME_CAMEL__`) and\n   rewrite them for the game: `evaluate\u003CGame>`, `scoreOf\u003CGame>` (the number the HUD shows),\n   `tag\u003CGame>Event` (payoff and twist, decided now) and the reasonable player; then set it as `bot` in\n   `testing\u002F\u003Cgame-id>-testing.ts`. A game that draws during play writes the reasonable player as a rule\n   ([examples\u002Fpig\u002Fsrc\u002Fgames\u002Fpig\u002Ftesting\u002Fpig-bot.ts](examples\u002Fpig\u002Fsrc\u002Fgames\u002Fpig\u002Ftesting\u002Fpig-bot.ts)).\n   When the levels are proven by the reasonable player (a witness), put the evaluation in\n   `rules\u002F\u003Cgame-id>-evaluate.ts` and re-export it: `levels\u002F` may not import `testing\u002F`. A real-time\n   game exports its `SimBotGame` hooks and the `idle`, `wander` and `dodge` command policies\n   ([examples\u002Farena-chase\u002Fsrc\u002Fgames\u002Farena-chase\u002Ftesting\u002Farena-chase-bot.ts](examples\u002Farena-chase\u002Fsrc\u002Fgames\u002Farena-chase\u002Ftesting\u002Farena-chase-bot.ts)).\n5. **Sim and bands.** Copy `templates\u002Ftest\u002Fsims\u002F__GAME_ID__\u002F` to `test\u002Fsims\u002F\u003Cgame-id>\u002F`, replace the\n   placeholders, set the grid to the lower bound of each tuning row (the template's `[0, 34, 67]` are\n   Lights Out's three), name the policies, and for an endless mode replace `\"endless\": null` with its\n   block ([references\u002Fbalance-contract.md](references\u002Fbalance-contract.md), \"Endless mode\"). Run\n   `npx eslint --fix` and `npx prettier --write` on it, then\n   `npx jest test\u002Fsims\u002F\u003Cgame-id> --ci --config jest.sim.config.js`. The first run writes the report\n   even if the bands fail. Real-time games play through `runSimBot` instead of `traceBot`\n   ([examples\u002Farena-chase\u002Ftest\u002Fsims\u002Farena-chase\u002Fbalance.sim.test.ts](examples\u002Farena-chase\u002Ftest\u002Fsims\u002Farena-chase\u002Fbalance.sim.test.ts)).\n6. **Read and tune.** Fix what is broken first (cap hits, replay differences, no early payoff, no\n   twist), then tune one knob at a time with the tuning loop and the symptom table, rerunning the sim\n   after each change and reading `lossReasons`.\n7. **Write the bands** around the tuned numbers with a margin and a `why` per band, and the story in\n   `notes` in plain words; keep `\"status\": \"proposed\"`.\n8. **Kill test verdict.** If the first payoff or the twist cannot be reached after reasonable tuning,\n   stop and tell the developer (fun-and-kill-test.md, \"When a game fails\"). Do not polish a game that\n   fails it.\n9. **Run the check** (run, fix, rerun until `RESULT: PASS`): `npm run test:sim`, then\n   `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-balance.mjs .` (add `--game \u003Cgame-id>` for one game).\n   Options, config keys and troubleshooting: [references\u002Fchecker.md](references\u002Fchecker.md).\n10. **Report and hand over.** Put the plain-language \"Bots\" line per difficulty (numbers from the\n    report) in the evidence report and \"Play-test \u003Cgame> on an iPhone and an Android phone\" under\n    \"Human checks (not blocking)\" until a person has done it; when they agree, set\n    `\"status\": \"approved\"` and `\"approvedOn\"`. Before a release run the check with `--release`: it\n    passes with proposed bands and prints the `HUMAN CHECK (not blocking)` line to copy into the\n    release report. The sims pass before level-generation-and-solvers generates the level tables; a\n    tuning change after they exist regenerates them in the same commit with a `Gate-Change:` trailer.\n\n## Definition of done\n\n- [ ] The harness files and their unit tests are in place and green; `npm run test:sim` exists and\n      never runs inside `npm test`.\n- [ ] Each game has a documented tuning file on the 0..100 scale (`rowFor` + `reduce`, an endless row\n      only with an endless mode) with its test, bot hooks with tests (a non-peeking reasonable player\n      when the game draws during play), `test\u002Fsims\u002F\u003Cgame-id>\u002Fbalance.sim.test.ts` and\n      `balance-bands.json` with `notes` (grid 0..99, the endless block when the game has one).\n- [ ] `npm run test:sim` passes: no cap hits, identical replays, every band, the curve, the skill gap,\n      the first payoff and the twist; one sim file runs in about 60 s or less.\n- [ ] `reports\u002Fsim\u002F\u003Cgame-id>.json` is fresh and its numbers are in the evidence report in plain words.\n- [ ] For a release: the check passes with `--release`; each `HUMAN CHECK (not blocking)` line is in\n      the report's \"Human checks (not blocking)\" list.\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-balance.mjs .` prints `RESULT: PASS`\n\nA passing run may print `SKIP src\u002Fcore\u002Fgame\u002Ftesting\u002Fplay-bot.ts [harness-missing] not yet created (game-rules-engine creates it)`\nbefore the kit is installed. An app with no game prints\n`NOT APPLICABLE: the app has no game (no src\u002Fgames\u002F\u003Cgame-id>\u002F folder with rules\u002F or sim\u002F)`.\n\n## Anti-patterns\n\n- **Balancing by playing a few games by hand, or by one seed.** Balance is a distribution; run 100+\n  seeds per cell and read the spread (`p10Moves`, `p90Moves`, `lossReasons`).\n- **Loosening a band, lowering `minStep` or trimming seeds to get green.** Change a knob, or bring the\n  developer a design question.\n- **A smarter bot to rescue a failing curve, or a greedy bot that peeks at the next roll.** If random ≈\n  reasonable, the game's choices are weak; fix the rules. A peeking bot never loses a turn's points and proves nothing.\n- **Renaming the payoff after a failing run.** Decide the tags first and write why in `notes`.\n- **Balance numbers scattered through the rules** (`hearts: 3` in `create.ts`). Move them into the\n  tuning file with a comment.\n- **A sim that needs React Native, a clock or `Math.random`.** The rules must be pure and seeded.\n- **Trusting a report after changing the rules.** The fingerprint makes it stale; rerun the sims.\n- **Tuning the whole difficulty table at once.** Change one knob, rerun, compare the two reports.\n- **Difficulty as a table index, or 100 in the grid.** Use `rowFor` and the `endless` block.\n- **`table[index] ?? table[0]`.** The fallback never runs and fails the per-file branch threshold.\n- **Polishing a game that fails the kill test.** Art and sound cannot fix a first payoff that never\n  comes; stop and ask the developer.\n\n## Files in this skill\n\n| File | What it is | Read\u002Frun when |\n|---|---|---|\n| [references\u002Fbots-and-sims.md](references\u002Fbots-and-sims.md) | The harness, what a bot needs, the three players, non-peeking players, bot hooks, tags, the sim file, real-time games, determinism on iOS and Android, speed, debugging, reporting, multi-package | Workflow steps 2, 4 and 5 |\n| [references\u002Fbalance-contract.md](references\u002Fbalance-contract.md) | The report fields, the fingerprint, the bands file, endless mode, setting bands, approval as a human check, how the check judges | Steps 6, 7 and 10 |\n| [references\u002Ftuning-playbook.md](references\u002Ftuning-playbook.md) | The tuning file, knob families, the curve, the tuning loop, symptoms and what to turn, the Pig tuning log, levels and daily | Steps 3 and 6 |\n| [references\u002Ffun-and-kill-test.md](references\u002Ffun-and-kill-test.md) | Why seconds matter, the kill test, what prototype bots revealed, openings built for an early payoff, choosing payoff and twist, when to stop | Steps 1 and 8 |\n| [references\u002Fchecker.md](references\u002Fchecker.md) | The checker's folders, options, config keys, every rule, expected SKIP\u002FNOT APPLICABLE\u002FHUMAN CHECK lines, troubleshooting | Step 9, when a line is unclear |\n| `templates\u002Fsrc\u002Fcore\u002Fgame-balance\u002F` | `trace-bot`, `bot-policies`, `sim-stats`, `balance-bands`, `parse-balance-bands`, `run-sim-bot`, each with its test | Step 2 (copy verbatim) |\n| [templates\u002Ftest\u002Fsims\u002Fwrite-sim-report.ts](templates\u002Ftest\u002Fsims\u002Fwrite-sim-report.ts) | `SIM_LAYOUT`, `rulesFingerprint` over the sim's import closure (`fingerprintFiles`) and `writeSimReport` | Step 2 |\n| [templates\u002Ftest\u002Fsims\u002Fwrite-sim-report.test.ts](templates\u002Ftest\u002Fsims\u002Fwrite-sim-report.test.ts) | Its test: unrelated core or screen files and generated level tables leave the fingerprint unchanged; an imported core file (even through another), a rules file or the level plan changes it | Step 2 |\n| [templates\u002Fjest.sim.config.js](templates\u002Fjest.sim.config.js) | Plain-Node Jest config for `*.sim.test.ts` (synced canonical file; do not edit here) | Step 2 |\n| [templates\u002Ftest\u002Fsims\u002F__GAME_ID__\u002Fbalance.sim.test.ts](templates\u002Ftest\u002Fsims\u002F__GAME_ID__\u002Fbalance.sim.test.ts) | A game's sim: plays the grid, writes the report, asserts the bands | Step 5 |\n| [templates\u002Ftest\u002Fsims\u002F__GAME_ID__\u002Fbalance-bands.json](templates\u002Ftest\u002Fsims\u002F__GAME_ID__\u002Fbalance-bands.json) | The template game's balance contract (Lights Out's measured bands on three rows, `endless: null`) | Steps 5 and 7 |\n| [templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Ftesting\u002F__GAME_ID__-bot.ts](templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Ftesting\u002F__GAME_ID__-bot.ts) | Lights Out's bot hooks: `evaluate` (fewer lit cells, a board one press from dark valued as a person sees it), `scoreOf`, `tag`, the greedy reasonable player | Step 4 |\n| [templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Ftesting\u002F__GAME_ID__-bot.test.ts](templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Ftesting\u002F__GAME_ID__-bot.test.ts) | Its test | Step 4 |\n| `templates\u002Fsrc\u002Fcore\u002Fgame\u002F` | Synced copies (assets\u002Fshared.json) of game-rules-engine's `game-engine.ts`, `difficulty.ts` and `testing\u002Fplay-bot.ts` (with tests), so the templates compile alone; never edit here, keep that skill's files | Never copy over that skill's kit |\n| `templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002F` | Synced copies of game-rules-engine's template game (Lights Out: types, tuning with its test, create, toggle-cells, list-moves, outcome, apply-move) that the bot template and the self-test need; never edit here | Step 3, as the tuning model |\n| `examples\u002Fpig\u002F` | Pig, the turn-based model: the tuned tuning file with an endless row, a non-peeking reasonable player and its test, the sim, bands with an endless block and the real report (the game's rules are game-rules-engine's Pig example) | Steps 3-7 for a game that draws during play or has an endless mode |\n| `examples\u002Farena-chase\u002F` | The real-time model: a fixed-step sim and `'worklet'` tuning file (+ replay tests), `SimBotGame` hooks and the idle\u002Fwander\u002Fdodge command policies (+ tests), a `runSimBot` sim, bands in ticks and seconds, and its real report | Steps 3-7 for a real-time game |\n| `scripts\u002Fcheck-balance.mjs` | Checks the sim config, harness, sims, seeds, bot hooks, tuning file, fingerprint scope and bands, and judges each report; `--release` prints unapproved bands as a HUMAN CHECK line | Steps 2, 9 and 10 |\n| `scripts\u002Flib\u002Fbalance.mjs` | Folders and options, the JavaScript port of the fingerprint and the bands rules | When changing the checker |\n| `scripts\u002Fselftest.mjs` | Proves the checker passes the templates and both examples and catches every planted bug | After changing the checker, a template or an example |\n| `scripts\u002Fcheck-lib.mjs` | Shared script library, synced (do not edit here) | Never by hand |\n| `assets\u002Fshared.json` | Declares the synced files (check-lib, the sim Jest config, game-rules-engine's kit and template rules copies) | When adding a shared file |\n| `assets\u002Ftemplate-placeholders.json` | The values the self-test and template verification fill in (`lights-out`) | When adding a placeholder |\n| `tests\u002Fbuild-fixtures.mjs` | Writes the overlay cases (ops, EXPECT lines with computed file:line, re-stamped fingerprints) | After changing a template, an example or the checker |\n| `tests\u002Fbases\u002Fapp\u002F` | The minimal app the fixtures lay the templates and examples on, with Lights Out's real report | When the fixture base changes |\n| `tests\u002Ffixtures\u002F` | `check-balance\u002F`: `good\u002F`, one `bad-*` per rule and planted bug, `pass-*` (before the kit, wrapped table, release with proposed bands, core growth, packs after sims, installed skills, no game, custom games folder, one game) and `error-*` cases | When adding a rule |\n\n## Related skills\n\n- `game-rules-engine` - the engine contract, the kit, the determinism policy and the sfc32 PRNG the bots drive.\n- `level-generation-and-solvers` - solvers, par, stars, level tables and the witness that plays them.\n- `realtime-game-loop` - the fixed-step sims that `runSimBot` plays headless.\n- `new-game-scaffold` - where a new game's tuning file, bot hooks and sim start.\n- `quality-gates` - `test:sim` inside the verify plan and the gated paths.\n- `git-commits-and-reporting` - the evidence report, Human checks (not blocking) and the Gate-Change trailer.\n- `unit-and-component-tests` - the Jest projects, `jest.sim.config.js` and the coverage gates.\n- `audio-and-haptics-feedback` - sounds and haptics for the payoff moments the sims find.\n",{"name":5,"description":7},"main","41a0e66d4d09de5b46e6537f59a97c7192473486","skills\u002Fgame-balance-and-bots",2,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills","https:\u002F\u002Fzakaria.dev\u002FReactNative-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fzakariaf","https:\u002F\u002Fzakaria.dev","Seniore Software Engineer","2026-10-22 07:05:00",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add zakariaf\u002FReactNative-Skills --skill game-balance-and-bots",{"tool":40,"command":41},"bunx","bunx skills add zakariaf\u002FReactNative-Skills --skill game-balance-and-bots",{"tool":43,"command":44},"pnpm","pnpm dlx skills add zakariaf\u002FReactNative-Skills --skill game-balance-and-bots","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002FSKILL.md",true,[48,54,58,64,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,194,198,202,206,210,214,218,222,226,230,234,238,242,246,250,254,258,262,266,270,274,278,282,286,290,294,298,302,306,310],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"assets\u002Fshared.json","ASSET","资产文件",1752,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fassets\u002Fshared.json",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"assets\u002Ftemplate-placeholders.json",384,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fassets\u002Ftemplate-placeholders.json",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"examples\u002Farena-chase\u002Freports\u002Fsim\u002Farena-chase.json","REFERENCE","参考文档",3800,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fexamples\u002Farena-chase\u002Freports\u002Fsim\u002Farena-chase.json",{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"examples\u002Farena-chase\u002Fsrc\u002Fgames\u002Farena-chase\u002Fsim\u002Farena-chase-sim.test.ts","SCRIPT","脚本",2995,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fexamples\u002Farena-chase\u002Fsrc\u002Fgames\u002Farena-chase\u002Fsim\u002Farena-chase-sim.test.ts",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"examples\u002Farena-chase\u002Fsrc\u002Fgames\u002Farena-chase\u002Fsim\u002Farena-chase-sim.ts",8414,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fexamples\u002Farena-chase\u002Fsrc\u002Fgames\u002Farena-chase\u002Fsim\u002Farena-chase-sim.ts",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"examples\u002Farena-chase\u002Fsrc\u002Fgames\u002Farena-chase\u002Fsim\u002Farena-chase-tuning.ts",3028,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fexamples\u002Farena-chase\u002Fsrc\u002Fgames\u002Farena-chase\u002Fsim\u002Farena-chase-tuning.ts",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"examples\u002Farena-chase\u002Fsrc\u002Fgames\u002Farena-chase\u002Ftesting\u002Farena-chase-bot.test.ts",3064,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fexamples\u002Farena-chase\u002Fsrc\u002Fgames\u002Farena-chase\u002Ftesting\u002Farena-chase-bot.test.ts",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"examples\u002Farena-chase\u002Fsrc\u002Fgames\u002Farena-chase\u002Ftesting\u002Farena-chase-bot.ts",4458,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fexamples\u002Farena-chase\u002Fsrc\u002Fgames\u002Farena-chase\u002Ftesting\u002Farena-chase-bot.ts",{"path":87,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":88,"sourceHtmlUrl":89},"examples\u002Farena-chase\u002Ftest\u002Fsims\u002Farena-chase\u002Fbalance-bands.json",2479,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fexamples\u002Farena-chase\u002Ftest\u002Fsims\u002Farena-chase\u002Fbalance-bands.json",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"examples\u002Farena-chase\u002Ftest\u002Fsims\u002Farena-chase\u002Fbalance.sim.test.ts",3405,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fexamples\u002Farena-chase\u002Ftest\u002Fsims\u002Farena-chase\u002Fbalance.sim.test.ts",{"path":95,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":96,"sourceHtmlUrl":97},"examples\u002Fpig\u002Freports\u002Fsim\u002Fpig.json",5610,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fexamples\u002Fpig\u002Freports\u002Fsim\u002Fpig.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"examples\u002Fpig\u002Fsrc\u002Fgames\u002Fpig\u002Frules\u002Fpig-tuning.ts",2201,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fexamples\u002Fpig\u002Fsrc\u002Fgames\u002Fpig\u002Frules\u002Fpig-tuning.ts",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"examples\u002Fpig\u002Fsrc\u002Fgames\u002Fpig\u002Ftesting\u002Fpig-bot.test.ts",2797,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fexamples\u002Fpig\u002Fsrc\u002Fgames\u002Fpig\u002Ftesting\u002Fpig-bot.test.ts",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"examples\u002Fpig\u002Fsrc\u002Fgames\u002Fpig\u002Ftesting\u002Fpig-bot.ts",2583,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fexamples\u002Fpig\u002Fsrc\u002Fgames\u002Fpig\u002Ftesting\u002Fpig-bot.ts",{"path":111,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":112,"sourceHtmlUrl":113},"examples\u002Fpig\u002Ftest\u002Fsims\u002Fpig\u002Fbalance-bands.json",3446,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fexamples\u002Fpig\u002Ftest\u002Fsims\u002Fpig\u002Fbalance-bands.json",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"examples\u002Fpig\u002Ftest\u002Fsims\u002Fpig\u002Fbalance.sim.test.ts",3625,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fexamples\u002Fpig\u002Ftest\u002Fsims\u002Fpig\u002Fbalance.sim.test.ts",{"path":119,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":120,"sourceHtmlUrl":121},"references\u002Fbalance-contract.md",12359,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Freferences\u002Fbalance-contract.md",{"path":123,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fbots-and-sims.md",21854,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Freferences\u002Fbots-and-sims.md",{"path":127,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fchecker.md",7593,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Freferences\u002Fchecker.md",{"path":131,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Ffun-and-kill-test.md",7525,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Freferences\u002Ffun-and-kill-test.md",{"path":135,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Ftuning-playbook.md",13826,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Freferences\u002Ftuning-playbook.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"scripts\u002Fcheck-balance.mjs",31110,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fscripts\u002Fcheck-balance.mjs",{"path":143,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":144,"sourceHtmlUrl":145},"scripts\u002Fcheck-lib.mjs",119923,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fscripts\u002Fcheck-lib.mjs",{"path":147,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":148,"sourceHtmlUrl":149},"scripts\u002Flib\u002Fbalance.mjs",14192,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fscripts\u002Flib\u002Fbalance.mjs",{"path":151,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":152,"sourceHtmlUrl":153},"scripts\u002Fselftest.mjs",673,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Fscripts\u002Fselftest.mjs",{"path":155,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":156,"sourceHtmlUrl":157},"templates\u002Fjest.sim.config.js",921,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fjest.sim.config.js",{"path":159,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":160,"sourceHtmlUrl":161},"templates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fbalance-bands.test.ts",6563,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fbalance-bands.test.ts",{"path":163,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":164,"sourceHtmlUrl":165},"templates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fbalance-bands.ts",9413,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fbalance-bands.ts",{"path":167,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":168,"sourceHtmlUrl":169},"templates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fbot-policies.test.ts",3201,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fbot-policies.test.ts",{"path":171,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":172,"sourceHtmlUrl":173},"templates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fbot-policies.ts",4616,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fbot-policies.ts",{"path":175,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":176,"sourceHtmlUrl":177},"templates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fparse-balance-bands.test.ts",4051,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fparse-balance-bands.test.ts",{"path":179,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":180,"sourceHtmlUrl":181},"templates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fparse-balance-bands.ts",5380,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fparse-balance-bands.ts",{"path":183,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":184,"sourceHtmlUrl":185},"templates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Frun-sim-bot.test.ts",3215,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Frun-sim-bot.test.ts",{"path":187,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":188,"sourceHtmlUrl":189},"templates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Frun-sim-bot.ts",3476,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Frun-sim-bot.ts",{"path":191,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":192,"sourceHtmlUrl":193},"templates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fsim-stats.test.ts",1769,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fsim-stats.test.ts",{"path":195,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":196,"sourceHtmlUrl":197},"templates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fsim-stats.ts",3271,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Fsim-stats.ts",{"path":199,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":200,"sourceHtmlUrl":201},"templates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Ftrace-bot.test.ts",3093,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Ftrace-bot.test.ts",{"path":203,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":204,"sourceHtmlUrl":205},"templates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Ftrace-bot.ts",3081,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame-balance\u002Ftrace-bot.ts",{"path":207,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":208,"sourceHtmlUrl":209},"templates\u002Fsrc\u002Fcore\u002Fgame\u002Fdifficulty.test.ts",1792,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame\u002Fdifficulty.test.ts",{"path":211,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":212,"sourceHtmlUrl":213},"templates\u002Fsrc\u002Fcore\u002Fgame\u002Fdifficulty.ts",1608,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame\u002Fdifficulty.ts",{"path":215,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":216,"sourceHtmlUrl":217},"templates\u002Fsrc\u002Fcore\u002Fgame\u002Fgame-engine.ts",1650,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame\u002Fgame-engine.ts",{"path":219,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":220,"sourceHtmlUrl":221},"templates\u002Fsrc\u002Fcore\u002Fgame\u002Ftesting\u002Fplay-bot.test.ts",1726,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame\u002Ftesting\u002Fplay-bot.test.ts",{"path":223,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":224,"sourceHtmlUrl":225},"templates\u002Fsrc\u002Fcore\u002Fgame\u002Ftesting\u002Fplay-bot.ts",2570,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fcore\u002Fgame\u002Ftesting\u002Fplay-bot.ts",{"path":227,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":228,"sourceHtmlUrl":229},"templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002F__GAME_ID__-tuning.test.ts",1374,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002F__GAME_ID__-tuning.test.ts",{"path":231,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":232,"sourceHtmlUrl":233},"templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002F__GAME_ID__-tuning.ts",2452,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002F__GAME_ID__-tuning.ts",{"path":235,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":236,"sourceHtmlUrl":237},"templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002F__GAME_ID__-types.ts",1254,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002F__GAME_ID__-types.ts",{"path":239,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":240,"sourceHtmlUrl":241},"templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002Fapply-move.ts",1406,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002Fapply-move.ts",{"path":243,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":244,"sourceHtmlUrl":245},"templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002Fcreate.ts",1709,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002Fcreate.ts",{"path":247,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":248,"sourceHtmlUrl":249},"templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002Flist-moves.ts",610,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002Flist-moves.ts",{"path":251,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":252,"sourceHtmlUrl":253},"templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002Foutcome.ts",728,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002Foutcome.ts",{"path":255,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":256,"sourceHtmlUrl":257},"templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002Ftoggle-cells.ts",923,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Frules\u002Ftoggle-cells.ts",{"path":259,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":260,"sourceHtmlUrl":261},"templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Ftesting\u002F__GAME_ID__-bot.test.ts",3166,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Ftesting\u002F__GAME_ID__-bot.test.ts",{"path":263,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":264,"sourceHtmlUrl":265},"templates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Ftesting\u002F__GAME_ID__-bot.ts",3163,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Fsrc\u002Fgames\u002F__GAME_ID__\u002Ftesting\u002F__GAME_ID__-bot.ts",{"path":267,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":268,"sourceHtmlUrl":269},"templates\u002Ftest\u002Fsims\u002F__GAME_ID__\u002Fbalance-bands.json",2520,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Ftest\u002Fsims\u002F__GAME_ID__\u002Fbalance-bands.json",{"path":271,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":272,"sourceHtmlUrl":273},"templates\u002Ftest\u002Fsims\u002F__GAME_ID__\u002Fbalance.sim.test.ts",4099,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Ftest\u002Fsims\u002F__GAME_ID__\u002Fbalance.sim.test.ts",{"path":275,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":276,"sourceHtmlUrl":277},"templates\u002Ftest\u002Fsims\u002Fwrite-sim-report.test.ts",5436,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Ftest\u002Fsims\u002Fwrite-sim-report.test.ts",{"path":279,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":280,"sourceHtmlUrl":281},"templates\u002Ftest\u002Fsims\u002Fwrite-sim-report.ts",5636,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftemplates\u002Ftest\u002Fsims\u002Fwrite-sim-report.ts",{"path":283,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":284,"sourceHtmlUrl":285},"tests\u002Fbases\u002Fapp\u002Fjest.config.js",249,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftests\u002Fbases\u002Fapp\u002Fjest.config.js",{"path":287,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":288,"sourceHtmlUrl":289},"tests\u002Fbases\u002Fapp\u002Fpackage.json",286,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftests\u002Fbases\u002Fapp\u002Fpackage.json",{"path":291,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":292,"sourceHtmlUrl":293},"tests\u002Fbases\u002Fapp\u002Freports\u002Fsim\u002Flights-out.json",3802,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftests\u002Fbases\u002Fapp\u002Freports\u002Fsim\u002Flights-out.json",{"path":295,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":296,"sourceHtmlUrl":297},"tests\u002Fbases\u002Fapp\u002Ftsconfig.json",128,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftests\u002Fbases\u002Fapp\u002Ftsconfig.json",{"path":299,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":300,"sourceHtmlUrl":301},"tests\u002Fbuild-fixtures.mjs",27245,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftests\u002Fbuild-fixtures.mjs",{"path":303,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":304,"sourceHtmlUrl":305},"tests\u002Ffixtures\u002Fcheck-balance\u002FCASES.json",42834,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftests\u002Ffixtures\u002Fcheck-balance\u002FCASES.json",{"path":307,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":308,"sourceHtmlUrl":309},"tests\u002Ffixtures\u002Fcheck-balance\u002Fgood\u002FEXPECT.txt",75,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftests\u002Ffixtures\u002Fcheck-balance\u002Fgood\u002FEXPECT.txt",{"path":311,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":312,"sourceHtmlUrl":313},"tests\u002Ffixtures\u002Fcheck-balance\u002FSUITE.json",1082,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgame-balance-and-bots\u002Ftests\u002Ffixtures\u002Fcheck-balance\u002FSUITE.json",[315,322,328,335,342,349],{"skillNo":316,"name":317,"nameZh":6,"description":318,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":319,"categories":320,"keywords":321,"publishedAt":19},"01M7F2S4KZG97D21GEJ2GKKYK1","demo","Planted skill folder (never scanned).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002Ftests\u002Fbases\u002Fapp\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":323,"name":317,"nameZh":6,"description":324,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":325,"categories":326,"keywords":327,"publishedAt":19},"01M7F2S1F4ATZ49909EDKWA9E6","Planted installed skill (its files must never be scanned).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002Ftests\u002Fbases\u002Fapp\u002F.agents\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":329,"name":330,"nameZh":6,"description":331,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":332,"categories":333,"keywords":334,"publishedAt":19},"01M7F2RXGPZJ5Q1FV2HQ1PJ6AX","web-support","Ships the web build of an Expo app: platform files, APIs missing in react-native-web, expo-sqlite headers. Use when adding web, a .web.tsx file or expo export --platform web. Not for responsive layout (adaptive-layout).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002FSKILL.md",[],[],{"skillNo":336,"name":337,"nameZh":6,"description":338,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":339,"categories":340,"keywords":341,"publishedAt":19},"01M7F2RQ43JFA4QFWQEHBET08G","value-objects-money-and-units","Stores money as ISO 4217 minor units, quantities in canonical units, instants as epoch ms. Use when adding a price, currency, tax, split, unit or timestamp, or a total is a cent off. Not for calendar days (dates-streaks-and-statistics).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalue-objects-money-and-units\u002FSKILL.md",[],[],{"skillNo":343,"name":344,"nameZh":6,"description":345,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":346,"categories":347,"keywords":348,"publishedAt":19},"01M7F2RHR7H8VVZDP16FJNJV11","unit-and-component-tests","Sets up Jest, checks unit, component and route tests (RNTL 14, renderWithProviders, SDK mocks, fakes, fast-check, Stryker). Use when writing a test or mock, or Jest fails or flakes. Not for goldens (golden-and-snapshot-tests).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Funit-and-component-tests\u002FSKILL.md",[],[],{"skillNo":350,"name":351,"nameZh":6,"description":352,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":353,"categories":354,"keywords":355,"publishedAt":19},"01M7F2RAEDWQ6H4514HFRWJAE6","ui-states-and-feedback","Builds loading, empty, failed and offline states, delayed skeletons, toasts, banners, confirms, Undo. Use when a screen loads data, shows a spinner, toast, retry or delete prompt. Not for failure values (error-handling-typed-results).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fui-states-and-feedback\u002FSKILL.md",[],[]]