Commit graph

30 commits

Author SHA1 Message Date
c43702b864 Reorganize the Guild section of Sokko TCG's administration
The Guild settings stacked three levels of navigation (admin menu, quest
tabs wrapping on two lines, Expedition tabs), hid whether each quest was
open until its tab was opened, gave every quest a different layout, wrote
the day's figures as sentences and laid out settings loosely.

- The Guild opens on one card per quest, built like the player's Guild
  board: the quest illustration, its state badge, the day's figures as
  small one-line rectangles and a "Régler" button.
- Inside the Guild, the admin menu lists the five quests; the collapsed
  half-screen menu reads "Guilde › <quête>".
- Each quest starts with a breadcrumb and the header of a collection page:
  illustration, state badge, "Ouvert aux joueurs" switch (confirmed before
  applying), summary and the day's figures, then what follows the day
  (Current Race circuit, today's hard mirror, running expeditions).
- The broken mirror sets its three mirrors in the drop-rate table (picture,
  games today, base gain, per remaining move, move margin).
- Expedition destinations are aligned list rows with a switch.
- Settings groups keep the NDS panels used by the Shop. The Guild layout
  moves to its own sheet, _nebula-admin-guild.scss.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:53:28 +01:00
e8fe27a90f Make Sokko TCG's Watcher's Bag compact, with items used elsewhere shown small
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m40s
Validate and deploy Sokko G / deploy (push) Successful in 16s
- Only the engraving burin and the workshop plan (while the workshop is open) keep a card in the bag, now compact: art on the left, name, help and action on the right.
- Every other item (destination items, wind rose, anchor, balm, oblivion scroll) is shown small on the same row, with what it does and where to use it in a tooltip.
- The oblivion card picker is gone: the scroll is used from a card's sheet.
- The bag's styles move to their own sheet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 13:16:00 +01:00
9cf48ea0d0 Add the Broken Mirror puzzle to the Guild
A daily puzzle: a card illustration cut into pieces, rebuilt by swapping
two pieces of the same row or column within a limited number of swaps.
The normal picture is a square card in 4 x 4, drawn for each player, with
placed pieces outlined in green; the hard one is a 5 x 7 portrait shared
by everyone each day, with a result to copy. The limit is the computer's
best result (beam search) plus a margin, and every swap left adds
stardust. Two companions of the daily team can each give one help, by
specialty; a double specialty picks one when used.

The server keeps the piece positions, sends the picture already shuffled
and checks every swap. Uniform illustrations are left out, from measures
written by scripts/mirror-illustrations.mjs. The Guild gets its quest and
a Codex tile, the administration a tab (opening, rewards, margins, the
day's summary), and migration 30 its tables. New collections must plan at
least one double-specialty character, counted by
scripts/team-specialties.mjs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 13:38:46 +01:00
7ed63fff49 Add the race screen of the daily team
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 22:02:57 +01:00
08c3c8f6a2 Add the recruitment screen of the daily team
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 21:45:37 +01:00
880f007cce Rework the daily card page around what the player knows and hints opened in any order
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m0s
Validate and deploy Sokko G / deploy (push) Successful in 15s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 14:01:43 +01:00
a52f89e9d5 Load the Sokko TCG styles with the cards route
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 20m30s
Validate and deploy Sokko G / deploy (push) Has been skipped
The cards and Expeditions sheets were a quarter of the CSS every visitor
downloaded. cards-route.scss now bundles them with CardsPage; only the
menu icon stays in main.scss. The sheets that followed them in main.scss
(checklist, NDS attributes, responsive) are re-emitted after them so
equal-specificity rules keep the same winner: the common sheet without
them plus the route sheet rebuilds the previous CSS byte for byte, and a
test keeps the list in step with main.scss. Common CSS goes from 94 243
to 69 413 bytes gzip and its budget from 100 000 to 75 000.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:23:14 +01:00
30413de036 Rework the expedition screens: in-place return, illustrated bag and workshop, card sheet tabs and an engraving workshop
Expeditions
- The journey keeps the destination landscape still while a sky scenery
  (clouds, floating isles, shards, sparkles) drifts behind the cards.
- A returned expedition shows only what the player receives, in place and
  without a window; claiming it removes the card and confirms with a notice,
  and the page reloads by itself when an expedition comes back.
- The Guild Keeper slots are gone: group requirements scale with the players.
- Local development adds a 20-second test duration, a test player for groups
  and keeps the dev account stocked with every item.
- The Wind Rose has no daily limit and is used from the destinations step.
- The Guide Star opens a destination one level below the player's highest daily
  level, the Sky Chart one at that level; bonus destinations are badged with
  the item that opened them.

Bag and workshop
- The Watcher's bag is a grid of illustrated item cards, ordered from the
  destination items, with a short "Utiliser" button; the six missing item
  illustrations are added.
- The workshop opens in a window with illustrated commons, spare counts on the
  cards, cancel without spending anything, and shows the crafted card with its
  description and power.
- The engraving workshop picks a common first, then a tag from a chosen
  character card (in its tag colours) or from every tag, filtered by name and
  family; card lists filter by name, collection and stat.

Card sheet
- Two tabs: the card and its lore (default from the collection), and its
  improvement (default from the expeditions) with a summary of power, level,
  experience and stats.
- "Répartition des statistiques" offers Par défaut, Personnalisé and profiles,
  previews the change in the summary, and a Parchemin d'oubli resets it to
  Personnalisé so the next choice is free again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 13:36:01 +01:00
3720fd01f7 Rebuild the Expeditions page around one guided journey: one card, no roles, leave alone or open to a group, follow the trip, keep a Journal
An expedition now opens with a single card. Its creator leaves alone right away, or opens it to the Guild board with an invite link and launches it whenever they want; at the end of recruitment it leaves by itself, alone or as a group, and is never dissolved for lack of players. Stars no longer depend on the number of players, a player has one expedition at a time, and roles are gone: each card brings its stats and a team adds them up, so every requirement is its per-slot share times the number of slots.

The page follows the player's path: the offered destination card is revealed once in a modal, then Préparer shows the destinations (stat requirements, condition and dangers coloured for the chosen card, loot effects), a frame with the sent card in large size, its equipment slots and stats, and the duration and departure. Cards and commons are chosen in modals with sorts and highlighted current picks; tags get matching colours on the card and on equipment synergies. Once gone, the trip is shown with a progress bar and moving cards, the loot opens in a modal, and finished expeditions move to a Journal tab with the Grimoire.

Power commons get short power names of their own and show their exact effects on hover, a card holds one power at a time, and Coup de folie now draws the real requirements between 80 % and 130 % of the shown ones, revealed on return.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 17:10:56 +01:00
8bb1d53d70 Add solo Expeditions, the second Guilde des Veilleurs quest of Sokko TCG
- Every catalog card carries expedition tags and every collection a stat profile, validated at load; twelve destinations live server-side so hidden ones stay secret.
- Pure rules compute card power, per-slot requirements, roles, dangers, the long-trip malus, the score (one more star never raises it) and loot proportional to the chosen duration.
- A simulator script and a balance test guard the design thresholds; agent docs and a new-card skill explain how to tag new cards.
- Migration 8 adds Éclats d'étoile, expedition settings stored as one validated JSON, daily destinations, expeditions, members and slots, and rebuilds gift_packs so a pack can come from an expedition.
- Players launch a solo expedition from the Guild, see an exact preview, and claim their loot when it returns; the card sheet shows cards away on an expedition.
- Administration › Guilde tunes every value with server-side bounds, toggles destinations and cancels running expeditions; expeditions stay closed until an administrator opens them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:29:05 +01:00
1171eee510 Clarify local persistence and backup states 2026-10-15 16:10:11 +02:00
00e73f0062 Add responsive game filters and hybrid toolbox drawer
All checks were successful
Deploy Sokko G / deploy (push) Successful in 20s
2026-09-27 18:00:49 +02:00
e52d6e66eb Cover remaining Sass families and fix autocomplete hover
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
2026-09-14 13:58:40 +02:00
77f357e056 Verify compiled card surfaces across desktop and mobile
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s
2026-09-14 09:09:42 +02:00
06de3a3a6e Add custom toolbox card covers
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
2026-09-05 15:41:56 +02:00
9aa98c892d Extend NDS patterns and migrate shared UI surfaces
All checks were successful
Deploy Sokko G / deploy (push) Successful in 17s
2026-09-02 15:50:04 +02:00
fef7735a1d Split randomizer views and align NDS toolbox vocabulary
All checks were successful
Deploy Sokko G / deploy (push) Successful in 17s
2026-09-01 19:47:22 +02:00
817e21567b Migrate site controls to Nebula design system
All checks were successful
Deploy Sokko G / deploy (push) Successful in 17s
2026-08-29 09:16:58 +02:00
fcabbe8029 Split remaining large Sass files by responsibility
All checks were successful
Deploy Sokko G / deploy (push) Successful in 16s
2026-08-25 09:45:59 +02:00
fe91d18624 Split large Sass files into focused partials
All checks were successful
Deploy Sokko G / deploy (push) Successful in 15s
2026-08-25 08:48:47 +02:00
c81f66c747 Split large Sass modules by feature area
All checks were successful
Deploy Sokko G / deploy (push) Successful in 15s
2026-08-24 20:07:24 +02:00
c312b9ed91 Split toolbox Sass partials 2026-08-14 09:24:54 +02:00
b221257616 Improve toolbox architecture and initial bundle loading
All checks were successful
Deploy Sokko G / deploy (push) Successful in 15s
2026-08-14 09:13:53 +02:00
48dcc8182c Improve onboarding layout and add sidebar mascot
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
2026-08-12 23:53:50 +02:00
2f1526b86b Improve onboarding section across home and about
All checks were successful
Deploy Sokko G / deploy (push) Successful in 8s
2026-08-12 21:45:09 +02:00
53ecde8d2b Improve home onboarding and table interactions
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
2026-08-12 12:29:54 +02:00
d53d4160af Add equipment planner toolbox module
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
2026-08-09 10:03:55 +02:00
1a35dcae7b Add hold and special inputs to combos
All checks were successful
Deploy Sokko G / deploy (push) Successful in 6s
2026-08-03 12:53:34 +02:00
025cd4bf22 add new table tool
All checks were successful
Deploy Sokko G / deploy (push) Successful in 6s
2026-07-30 11:32:33 +02:00
895fec2b40 structure refacto & file documentation
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
2026-07-25 17:51:53 +02:00