Commit graph

7 commits

Author SHA1 Message Date
dcb06e439b 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>
2026-12-06 23:08:25 +01:00
504c709848 Let players switch collection views from clear tiles, filter explorer and equipment pickers with a tag and name autocomplete and multi-stat builds, read card stats as gauges with art badges for affinity, tags and worn commons, see short power effects, and save expedition sets that move shared commons between explorers
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 25m6s
Validate and deploy Sokko G / deploy (push) Successful in 17s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 12:05:04 +01:00
3590df5e1e Let players compare card stats in the collection, rebalance card profiles with a full refunded reset of upgrades, and fix best boosts that sometimes fired in the previous zone
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 25m4s
Validate and deploy Sokko G / deploy (push) Successful in 18s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 23:17:23 +01:00
ba2ebfb19d Cover the daily team end to end and measure keep or recruit on the race
A last Sokko TCG journey plays five days on a moved server clock: gold stars
from the daily card, a recruitment that survives reloads, a race interrupted by
a reload and finished with its boost, a full race, the team's three days and a
full reserve that turns the daily reward back into plain stardust.

scripts/simulate-team-race.mjs measures keeping against recruiting on the race
itself. inventTeam takes an optional gold reserve for it. Keeping wins 1.6
stardust per race over recruiting every day; choosing by average power adds 0.4.
The figures are in docs/equipe-du-jour.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 14:20:05 +01:00
88c7bf8317 Group Sokko TCG's interface files by Guild quest and card rendering
The 48 files of the Daily Card, Expeditions, Daily Team and race, Broken
Mirror and card rendering move to daily/, expeditions/, team/, mirror/ and
rendering/ under website/src/features/cards, with every relative import
rewritten. The root keeps the page, server calls, cache and the player
sections outside the Guild. The cards README, the quest recipe and the
current docs follow the new paths; dated audits and plans keep theirs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 11:35:18 +01:00
73bd5ae21c Give Sokko TCG's server files headers that explain their role, callers and pitfalls
Each core file of services/cards now says where it sits, its entry points,
who calls it and what to watch for: admin checks living in the service, the
methods added to ExpeditionService and TeamService by Object.assign, the
InTx suffix, settings defaults that do not change an existing database, and
rules shared with the browser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 09:47:18 +01:00
22b397ebfa Document Sokko G's architecture and folders, and move JavaScript file headers to JSDoc @file blocks
Add ARCHITECTURE.md (layers, flows, folder map, glossary), CONTRIBUTING.md
(setup and step-by-step recipes) and a README in each main folder, with an
index of docs/. Convert the 511 JavaScript headers from "// Rôle :" lines to
JSDoc @file blocks, define a three-level header template in website/AGENTS.md
and check the header in tests/file-headers.test.mjs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 09:42:13 +01:00