Tests for the weekly scenario; C1 covers committed weeks; CHANGELOG
This commit is contained in:
parent
0ece48a79d
commit
3dbd508b64
4 changed files with 220 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ These are what the game promises, held up by `tests/gameplay-rules.test.js` (one
|
|||
|
||||
| Id | Rule | Why |
|
||||
| --- | --- | --- |
|
||||
| C1 | Every scenario has a name, a goal, an `ok()` its progress card (`SCN_PROG`) shows, and cannot be won on day 0. | A goal must need play. |
|
||||
| C1 | Every scenario has a name, a goal, an `ok()` its progress card (`SCN_PROG`) shows, and cannot be won on day 0; so does every committed weekly scenario (`site/scenarios/weekly/`, its goal type's card in `WS_GOALS`). | A goal must need play. |
|
||||
| C2 | Every puzzle has a 1-star and a 3-star reference solution in `REF` of `tests/puzzles.test.js`, which builds and scores them. | Every puzzle is solvable and every star reachable. |
|
||||
| C3 | Every player-facing string is translated in every language (`node scripts/i18n-check.js`: 0 missing, 0 unused, 0 broken). | CLAUDE.md; see `add-strings`. |
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue