Commit graph

109 commits

Author SHA1 Message Date
c3e494b8a6 Let players use Sokko TCG from a phone through a mobile fallback mode
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 24m57s
Validate and deploy Sokko G / deploy (push) Successful in 17s
#/mobile/cards shows the game without the site shell: a title, a footer
with the account and a discreet "Version complète" link, and a tab bar
fixed at the bottom. Phones opening #/cards are sent to the same section
in mobile mode unless the player chose the full version. Account,
History and Administration point to the computer.

The panels are the computer ones, adapted under .nebula-mobile (and
body.nebula-mobile-body for dialogs) for a 393×852 reference phone:
small cards with names under them when opening packs, a revealed card
shown large on tap, tap-to-pick team recruitment with a single Recruit
button and large stars, row lists for explorers and commons in the
expedition pickers, a race track and circuit that read at phone size,
and full-width actions throughout. Firefox no longer shows a mirrored
back on a flipped card.

Phone Playwright journeys check that every section fits the screen with
no button wrapping, then open a pack, run an expedition and recruit a
team by touch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:55:35 +01:00
0262f596c9 Centre the finished transfers toggle under the trade and gift tiles
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 24m27s
Validate and deploy Sokko G / deploy (push) Successful in 16s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 10:12:02 +01:00
5d23b2188c Label the viewer's duplicates another player lacks as Manquant
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 18:39:59 +01:00
07a43ef848 Let a guide checklist update from its page filters without losing checks, and optionally limit the page to what the checklist contains
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 24m18s
Validate and deploy Sokko G / deploy (push) Successful in 18s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:39:00 +01:00
17e5cd5e63 Put trading and giving up front and suggest the players who need each card
The Échanges et dons page now opens on two illustrated tiles, centred and
360 px wide at most: trade (L'Échange Écarlate) and give (the Dawn card,
renamed Le Don de l'Aube with a gift story). Each counts the cards missing
on either side and previews a few. In the composer, the most useful players
come first in the list and as suggested chips, and missing duplicates lead
with a badge; nothing is filtered, so owned duplicates stay tradeable for
Awakenings. GET /api/cards/traders adds `wants`: which of the viewer's own
duplicates each player lacks, and nothing else of their collection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:01:56 +01:00
db93420daf Document every Sass mixin and function with SassDoc and drop the unused ones
Some checks failed
Validate and deploy Sokko G / deploy (push) Blocked by required conditions
Validate and deploy Sokko G / validate (push) Has been cancelled
Each @mixin and @function now has a /// block: what it draws and when to use
it, its parameters with their accepted values, and the mixin that goes with
it. VS Code shows it on hover with SCSS IntelliSense. Ten mixins that nothing
included are removed; the built CSS is byte-identical. tests/static-styles
now requires the block, and website/AGENTS.md gives the template.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:22:36 +01:00
863050437f File Sokko G's dated documents under docs/audits and docs/plans and renumber the design system sections
The UX audit and the toolbox loading profile join docs/audits, the P06 usage
study joins the plans it closes, and the finished holographic flares plan
moves to docs/plans with its date. Links follow them. DESIGN_SYSTEM.md no
longer has two sections 8 and two sections 11.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 11:27:25 +01:00
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
52df57f781 Make Sokko TCG's Current Race fairer and explain each race afterwards
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m50s
Validate and deploy Sokko G / deploy (push) Successful in 18s
Players kept finishing third or fourth: opponents were played better than
their owners would (always the best runner, half of them with perfect
boosts and no reaction time), and the Watchers recruited knowing the day's
circuit, which players never see.

- A player who already ran today now comes back as a ghost with their real
  race; other teams play like an attentive player (best runner, each
  teammate given in a zone of its best stat after a reaction delay). The
  Watchers recruit blind; only the strong one plays attentively. The
  administration counts the ghosts.
- The rule that a boost keeps the value of the zone where it was given is
  now stated before and during the race.
- A boosting teammate is greyed at once with "Élan donné", a 1.5 s bar and
  its locked value; the others dim while the player has to wait.
- The result shows the place as a medal, the finish as lanes (with a gold
  silhouette at the best boosts), the three times, each boost placed on
  the circuit (dashed in the teammate's best stat when it was worth more
  elsewhere), a sentence per boost to place better and, when clearly
  faster, another runner. The best boosts are searched in the browser.
- A development-only "Recourir (dev)" button erases the race and keeps the
  team.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:18:18 +01:00
734a3b6a8b Make the broken mirror easier: wider margins, extra moves from balanced companions, hover outline on hard
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 18m58s
Validate and deploy Sokko G / deploy (push) Has been skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 09:43:13 +01:00
ebb220d532 Add an Easy mirror before Normal and let every companion help
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m41s
Validate and deploy Sokko G / deploy (push) Successful in 16s
Easy is a square 4 x 4 picture drawn for each player, with green
outlines, where any two pieces swap; it is scored against the free
minimum and pays 5 plus 1 per move left. The three mirrors open one
after another (Easy, Normal, Hard) and the Guild quest is done with all
three. Migration 31 rebuilds mirror_games to accept the new mode. The
mirror page shows three illustrated cards, Easy painted with Codex.

Bravery now places a misplaced piece for free, since swapping anywhere
means nothing in Easy. Each of the five companions can help once per
game instead of two in all. Mirror styles now win over the global
button hover, so placed pieces keep their green outline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:27:02 +01:00
4321559831 Center the Guild's done sign and grey finished quest art
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m31s
Validate and deploy Sokko G / deploy (push) Successful in 19s
The "Fait" sign keeps its two nails like "En groupe", with the green
check inside the text so it stays centered. A finished quest's art is
greyed at 80 %, still brighter than a locked quest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 17:17:38 +01:00
8c0771f06f Rework the Broken Mirror screens and the Guild quest board
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m32s
Validate and deploy Sokko G / deploy (push) Successful in 16s
The mirror page opens on two illustrated cards, Normal and Hard, painted
with Codex, with three small rule reminders; a card opens or starts its
game. The five companions of the daily team show as tiles: one click uses
a help, two per game, with no selection step. Helps are renamed after
what they do (swap anywhere, show a piece's place, double the rewards,
undo the last move, see the model again), use the shared tooltip and
keep the same height. Selecting a piece no longer waits for the server,
and showing a place aims at the selected piece. Under 960 px of
dashboard, like the section menu, the board goes on top and the moves
panel keeps only the count. Stardust is always written in full.

The Guild board shows four tiles per row on full screen, aligned with
subgrids, solo quests first. Status lines give way to a wooden "Fait"
sign on finished quests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 16:25:35 +01:00
ddb3b81278 Rename mirror swaps to moves and give each helper its own kind of help
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m30s
Validate and deploy Sokko G / deploy (push) Successful in 18s
On screen, a swap is now a move. The five helps no longer all save a
move: Bravery frees the next move from the row or column rule,
Orientation shows where a chosen piece goes, Fortune doubles the reward
of a rebuilt picture, Endurance takes back the last move and Balanced
shows the model for five seconds. The model is visible until the first
move only: the server no longer sends it afterwards, except during that
help and at the end.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 14:11:28 +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
52b35880f2 Rework the daily team screens, share its team block and give the race its admin tab
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m2s
Validate and deploy Sokko G / deploy (push) Successful in 16s
The daily team page now opens on a welcome screen with the three steps,
and the recruitment keeps the same look: golden steps, the choice in a
golden panel with the hidden stars, a team summary of colored mini cards
and its strengths, and a reroll badge. One "Your team" block is shared by
the Guild, the recruitment and the ready team. The header shows the extra
golden stars and the balms; the tips button is gone. On the Guild, team
quests carry a "En groupe" sign until the team is ready and the streak
badge stays readable. The race gets its own admin tab: its own opening,
the day's circuit and results, rewards by place and the watchers' skill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 09:50:35 +01:00
327337075b Turn the Guild page into a guild hall and put the race circuit forward
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m7s
Validate and deploy Sokko G / deploy (push) Successful in 17s
The Guild page becomes a guild hall: a counter with the Watchers' dragon and
the day's quest progress, the Expeditions highlighted as the main mission,
the player's team with golden stars and balms, and a quest board whose
illustrations are clickable. The race page now opens on the day's circuit,
explained for newcomers, and the team and race pages drop their links to
each other.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 15:39:14 +01:00
b179a40a04 Add the daily team administration, recruitment retouches, the Watchers' balm and a new Guild layout
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 13:35:38 +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
62042c4c36 Compare the subject and theme of each daily guess, let players choose their hints and find cards by related words
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m58s
Validate and deploy Sokko G / deploy (push) Successful in 17s
Collection and rarity hints only helped players who owned the daily card. Each guess now shows the common part of its subject and whether the theme of its name matches. A wrong guess earns one hint of the player's choice, the same list for everyone so that nothing reveals the ownership: album, rarity, collection, damaged page or name shape. Hidden words never leave the server, and the ownership is the one of the draw.

The guess list also finds a card by a related word, and the album no longer searches the description of unknown cards. Principles and data: docs/carte-du-jour.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:09:08 +01:00
5a794e5220 Make the mythic rarity prismatic, centralize rarity colors and show rarity symbols in the history
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 20m39s
Validate and deploy Sokko G / deploy (push) Has been skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:52:20 +01:00
3b2dae0168 Refuse layered finishes without their files and lighten idle particle cards
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m53s
Validate and deploy Sokko G / deploy (push) Successful in 14s
The catalog now marks the prismatic parallax as a layered effect, and the
service refuses to create a variation or change its finish to it when the card
lacks the cutout and backdrop for that format; existing variations stay as they
are. A test keeps the interface and the server in agreement for every card and
finish. Particle cards no longer hold canvas pixels at rest, build their motif
sprites on first use from a cache shared by all cards, and fade remaining
twinkles and fireflies within half a second once the pointer leaves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:06:20 +01:00
6737a89a1c Let administrators save particles on mythic variations
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m41s
Validate and deploy Sokko G / deploy (push) Successful in 14s
Lightning, twinkles and fireflies move from a visual lab prototype to real
settings. The catalog declares the animations, their motifs, sliders and zones;
migration 24 stores each variation's particles; the service validates and
normalizes them behind a dedicated admin route and records the change in the
history. Published editions carry the particle fields, so every card of the
variation shows them in collections, card sheets and openings. The Particles
tab of the variation editor now saves with the same Enregistrer button as the
finish and tunings, including when a variation is created.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:44:32 +01:00
f77a0ca577 Prototype lightning, twinkle and firefly particles in the visual lab
The Particles tab of the visual lab now previews three persistent particle
animations for mythic cards, drawn on a canvas inside the illustration or over
the whole card. Lightning bolts grow from the edges towards a random point near
the hero and pass behind a cut-out hero with the prismatic parallax. Twinkles
pop chosen motifs in and out with a light cross at their peak. Fireflies drift
on winding paths, pulse and move away from the pointer. Each animation offers a
palette, a zone and its own sliders, runs only on a large or hovered card, and
stays still under reduced motion. Nothing is saved on the variations yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:07:22 +01:00
9f70bea523 Reorganise the visual lab and mythic variations around a Holo and Particles panel
The visual lab becomes a single bench: one thumbnail per holographic effect picks
the effect, and a large card sits beside the shared customisation panel. The
mythic editor shows its variations as a row of thumbnails above the settings of
the selected one, with a large card preview, and saves them with a single
Enregistrer / Annuler pair instead of saving each slider. Formats and effects
whose files a card lacks stay in their menu, disabled at the bottom with the
missing files listed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 14:33:18 +01:00
808adadc0c Add the shattered ice effect and five-step tunings for mythic variations
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m39s
Validate and deploy Sokko G / deploy (push) Successful in 14s
« Glace brisée » joins the holographic effects: a seamless shard mosaic in four
facet groups that each light up near their own tilt, with glinting cracks; in
the standard layout it covers the frame and text and stays under the artwork.
Its masks come from scripts/generate-shattered-ice-textures.mjs.

Each mythic variation now tunes its palette intensity and, when the effect
declares one, its own level (prism speed, parallax amplitude, shard size), from
1 to 5 with 3 as the reference render. Tunings are stored on mythic_variations,
set with range sliders when a variation is created or later in the mythic
editor, logged in the history and previewed in the Visual Lab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:40:24 +01:00
efdb5c558c Replace the prismatic backdrop with a prismatic parallax and redraw the Long Night legendaries
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m36s
Validate and deploy Sokko G / deploy (push) Successful in 17s
The prismatic-backdrop finish, now labelled « Parallaxe prismatique », lays a
card's cut-out hero over a backdrop without it and shifts both with the tilt,
the palette tinting the backdrop, lighting each layer's highlights and fringing
the hero. Cards declare the backdrop next to the cutout (backdropImage,
fullBackdropImage), validated by name. The Visual Lab is back to its usual
effect cards. The three Long Night legendaries are redrawn in the collection's
style, and La Pioche Mythique gets its parallax layers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 21:06:37 +01:00
fc43444995 Give each player their own daily card and send only the visible crop of its illustration
Some checks failed
Validate and deploy Sokko G / validate (push) Successful in 22m10s
Validate and deploy Sokko G / deploy (push) Failing after 25s
- Each player draws their own daily card and zoom point on their first visit, so a shared answer no longer helps; the migration keeps past games with their day's shared card.
- The server crops the illustration with sharp to the part visible at the current zoom; the full image only arrives once the game is over.
- The admin overview shows the day's winners and players instead of a single card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 16:47:52 +01:00
98ffe6562c Add a loot legend, a foldable Watcher's bag and a mythic halo, and move card sheet and power texts to site.json
- The destinations step opens with a legend of the four loots and what the
  green and red arrows mean.
- The Watcher's bag folds into a strip of item art and counts; the choice is
  kept by the browser.
- Mythic cards wear a slowly turning prismatic ring across the expedition
  screens; it is visual only.
- The card sheet and the stats distribution read their texts from
  cards.cardSheet, and power descriptions and their figures from
  cards.expeditions.powerText and powerDetails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 15:44:44 +01:00
84b0d69b1f Keep the expedition view in sync with other players and only send alerts players still want
- The expeditions page rereads its view on its own: every 10 seconds while a
  group is shown, every 20 seconds otherwise, on tab return and at the next
  recruitment deadline; late responses no longer overwrite a newer action. A
  failed load offers "Réessayer" and a failed refresh keeps the last view.
- The periodic alert pass first departs groups whose recruitment ended, so
  their return is announced even if nobody visits the site.
- Queued alerts are checked again at sending time: a player who opted out or
  alerts switched off by the administration drop the message for good.
- The engraving confirmation sticks to the bottom of its window, the workshop
  lists commons by spare count, the guild expeditions card shows the Great
  Void, and stale help texts and comments are fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 15:24:39 +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
e55c5c735d Show the Watcher's bag only when it holds items and let expeditions bring back Parchemins d'oubli
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 21:08:36 +01:00
477ce5a141 Remove the Grimoire, which only listed discoveries and had no effect on the game
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 21:08:21 +01:00
ebd8580738 Rebuild the duration and departure step with outcome tiles, two clear departure choices and a steady preview while it updates
The preview of a solo departure now uses the same tiles as a pending expedition, from a shared component: projected outcome (tier, large score and a sentence on how the tier changes the loot), expected loot with one line per reward, powers and score bonuses, with warnings below only when they apply. Requirements, condition and dangers stay on the destination card. The long help paragraph becomes two side-by-side choices, leave alone or open to a group, each saying what it implies. While a new preview is computed, the previous one stays in place, dimmed, and the real travel time line only shows when a power changes it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 20:49:10 +01:00
9b9d64fd01 Rework the pending expedition card in two columns with a larger landscape, a clear outcome summary, card-sized slots and a one-hour default recruitment
A pending expedition now spans the full width in two columns: the destination landscape, the members as small cards with free slots of the same size, and the departure buttons on the left; the departure countdown with its time and progress bar, the projected outcome, powers and bonuses in small tiles, a recap of the destination's requirements against the team's stats, and the invite link on the right. The outcome tile shows the tier, the score and a sentence on how the tier changes the loot. Pending, running and finished expeditions use the destination landscape instead of the old cover card, and the default recruitment period drops from 12 hours to one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 20:16:00 +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
9dac9d8356 Draw outline versions of the stardust and Éclats icons for the loot panel
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 09:31:32 +01:00
ff206aadd4 Give unlinked destinations single or double loot specialties, with one neutral destination and one linked destination per collection
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:52:36 +01:00
d85d6d8ffa Show what each destination looks for and what it yields in two small panels, and keep specialties off collection destinations
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:01:42 +01:00
703697f1ac Reward single cards instead of packs and give each destination a loot specialty
Expeditions no longer hand out packs: they bring back single cards, with one hourly card chance that Fortune and the longsight still raise. A card comes from the destination's Carnets des Veilleurs; a destination tied to an open collection draws it from that collection most of the time, at the collection's rarity rates (a legendary can come as a mythic variation), with missing cards twice as likely.

Each destination has a loot specialty (Éclats, stardust, cards or items) that multiplies its reward and slightly lowers the others, and the planner shows it with the destination's collection. A destination tied to a collection cannot be rich in cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 20:33:01 +01:00
250e0633cf Draw the difficulty with the daily destinations and paint each destination as a landscape
Each daily destination now draws a difficulty level, one of each per day, and the planner shows it as a star badge instead of letting the player choose. Solo and group derive their stars from that level; the 5th and 6th destinations keep a stable random level for the day and the hidden one takes the highest.

The 14 destinations get a watercolour landscape, shown in the destination picker as a banner cut by a brush-stroke mask. docs/expeditions/destinations-illustrations.md holds the prompts, each destination's palette and signature, and the crop used for every image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 15:42:28 +01:00
4d05d812c5 Split the Guild administration into tabs and sell Éclats and openings by quantity in the shop
The Guild administration now has a tab per quest. The expedition settings sit behind a status band (open or close, today's activity) and four themed tabs, with units inside the fields, the default value shown, and one sticky apply bar that lists every change before confirming.

The Pont des Veilleurs leaves the expedition page and becomes the « Éclats d’étoile » shop item, priced from Administration › Boutique. Openings and Éclats are bought by quantity: a number field capped by the stardust the player actually has, and a full-width button that shows the total cost. Stardust and Éclats get their own SVG icons, aligned with the text around them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 15:39:45 +01:00
21827a252b Add the Carnets des Veilleurs, the expedition-only Sokko TCG collection with power commons
- A new watchers-logbooks collection of category expedition never comes from packs, the shop or codes, and administrators cannot open it as a pack.
- Its six commons carry powers instead of stats (Longue-vue, Provisions, Carte au trésor, Talisman, Boussole folle, Filet à étoiles filantes); a card holds one power and each counts once per team.
- Powers change travel time, loot, score or tier, hide requirements, or catch a logbook card; each destination lists the logbook cards it can bring back.
- A workshop turns a plan and three duplicate commons into a power common.
- The fifteen cards ship without images with ready ChatGPT prompts; a card only drops or gets crafted once illustrated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 17:40:51 +01:00
ae23adfdd9 Bring back objects from Sokko TCG Expeditions and open bonus and hidden destinations
- Expeditions bring back objects by weight, proportional to the loot; treasure-map fragments, burins and workshop plans need enough average Orientation.
- A guide star adds a fifth destination to the player's day, a sky chart a sixth with richer loot, and enough fragments open one of two hidden destinations: Le Passage Écarlate and L'Observatoire perdu.
- An anchor recalls a running solo expedition and keeps the Éclats and stardust already earned; a burin engraves a tag on a common to create the synergy a player wants.
- The Veilleur's bag lists objects with their use, reports show brought-back objects, and Administration › Guilde tunes object chances, weights, the Orientation threshold and hidden-destination loot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 17:28:05 +01:00
320498d878 Send opt-in Discord alerts for Sokko TCG Expeditions through palico-bot
- Players turn on alerts one by one in their account: someone opens an expedition group, or one of their expeditions returns; both stay off until chosen.
- Opening a group queues a direct message for each other subscribed player; every 30 seconds the server queues returned expeditions once and sends pending messages to palico-bot's direct message route.
- Permanent refusals (unknown account, closed direct messages) or five failures stop retries; only real Discord accounts receive alerts, and sent rows are purged after 30 days.
- CARDS_DISCORD_ALERTS_URL and CARDS_DISCORD_ALERTS_KEY enable the feature; Administration › Guilde can turn every alert off, and the privacy notice explains what is sent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 17:09:29 +01:00
6828683f1d Let Sokko TCG commons equip cards and add expedition synergies with a Grimoire
- Every common carries equipment spreading six points (+6, +3/+3, +2/+2/+2 or +8/−2), validated at load; every rare or better card shares a tag with at least three commons.
- Power opens up to three equipment slots; a common sharing a tag with its card adds synergy points, and a common equips one card at a time without ever leaving the collection.
- Teams earn score bonuses from destination affinity and resonances (Écho, Lignée, Étoiles sœurs), capped together with group cohesion.
- The Grimoire records lore pairs when equipping and resonances at departure for every player of the team.
- The card sheet lists equipment slots with synergy hints; previews, groups and reports show affinity and resonance badges; Administration › Guilde tunes slots, synergy points and score bonuses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:40:06 +01:00
e0ffccd1c8 Let Sokko TCG players level up cards for Expeditions with Éclats or duplicates
- Each owned rare or better edition keeps a level and field experience; a level costs Éclats by current power, so every rarity reaches the same cap and a rare pays the longer road.
- A duplicate of the same edition gives a whole level; every claimed expedition grants field experience to the cards it sent.
- A one-way bridge turns stardust into Éclats at an admin-tuned rate.
- The card sheet shows level, power, stats and experience with upgrade buttons; expeditions use the upgraded power.
- Administration › Guilde tunes the cost formula, duplicate levels, field experience and the bridge rate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:52:44 +01:00
6b7605d04e Add group Expeditions with a Guild board to Sokko TCG
- A player opens a group with one card and a chosen role; others join from the board with a free role, and the creator launches it once enough players are in.
- At departure the Veilleur de la Guilde holds empty places without a role, each member rolls their own loot multiplied by the number of players, and distinct collections add a cohesion bonus.
- An unlaunched group departs on its own at the end of recruitment with enough players, or dissolves and tells its members; leaving, dissolving and deleted accounts free cards or forfeit shares.
- The Guild tile flags joinable groups; Administration › Guilde tunes group places, players, stars, recruitment, loot multipliers, keeper stats, cohesion and the score bonus cap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:46:10 +01:00