Add the Duel des Constellations mini-game
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 26m59s
Validate and deploy Sokko G / deploy (push) Has been skipped

- Guild quest played with the five companions of the daily team on a
  4x4 sky map: arrows from orientation, attack against defence with no
  hidden roll, combos, nine moves, against a Watcher Guardian or another
  player's ghost team, a few games a day.
- Fortune gives clovers: each card ending in the player's camp adds its
  clovers to the stardust reward (the luck roll was removed).
- Board between both hands, drag and drop or click, capture preview,
  animated duel, auto-started game, side colours, short rules.
- Phone layout with colour-only cards and the duel in the mobile mode.
- Admin settings (opening, games per day, rewards, ghost share),
  migration 35, quest board tile with its illustration, docs and tests
  (rules, service, desktop and phone e2e).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-12-06 23:08:25 +01:00
parent 6d05fe2b52
commit dcb06e439b
39 changed files with 2089 additions and 28 deletions

View file

@ -21,7 +21,8 @@ not bugs, missing scenarios or a percentage of work remaining.
| HTTP cache policy of the delivered Node server | `tests/server-cache.test.mjs`; production E2E remains responsible for stale bundle recovery |
| Node server resilience: hostile requests, invalid Cards configuration, clean shutdown | `tests/server-robustness.test.mjs` |
| Sokko TCG ownership, recharge, idempotence, transfers, campaign codes, account deletion and backup/restore | `tests/nebula-cards.test.mjs`, `tests/nebula-cards-api.test.mjs`, then `e2e/nebula-cards.spec.js` against the delivered Node API and a temporary SQLite database |
| Sokko TCG daily team: gold stars from the daily card, recruitment surviving a reload, race interrupted by a reload, team days and a full reserve | `tests/nebula-cards-team.test.mjs` for the rules and service, then the last test of `e2e/nebula-cards.spec.js`, which moves the server clock five days ahead in reduced motion |
| Sokko TCG daily team: gold stars from the daily card, recruitment surviving a reload, race interrupted by a reload, team days and a full reserve | `tests/nebula-cards-team.test.mjs` for the rules and service, then the team test of `e2e/nebula-cards.spec.js`, which moves the server clock five days ahead in reduced motion |
| Sokko TCG Duel des Constellations: rules (arrows, captures, duels, combo, clovers, end of game), daily team as the hand, ghosts, daily limit, reward paid once | `tests/nebula-cards-duel.test.mjs`, then the last test of `e2e/nebula-cards.spec.js` (admin opening, locked tile, recruitment, auto-started game played by drag and click, result and reload) and the duel section of the phone route in `e2e/nebula-cards-mobile.spec.js` |
| Toolbox sharing by encrypted link: server caps, single use, expiry, browser quotas, encryption, send and receive under the production CSP | `tests/toolbox-shares-api.test.mjs` (real HTTP server, temporary directory), `tests/toolbox-share-crypto.test.mjs`, `tests/toolbox-share-quota.test.mjs`, then `e2e/toolbox-share.spec.js` with isolated recipient contexts and `e2e/production/toolbox-share.spec.js` |
| Shared reorder policy and module order | `e2e/grouped-reorder.spec.js`, `module-order.spec.js` |
| Toolbox creation, import/export, text exchange | `e2e/toolbox.spec.js`, `text-exchange.spec.js`; Node toolbox module tests |