sokko-g/services/cards
Shinuwa 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
..
content Add the Broken Mirror puzzle to the Guild 2026-11-28 13:38:46 +01:00
admin-seed.js Add the Sokko TCG collectible card mini-game 2026-11-05 17:47:35 +01:00
api.js Add the Broken Mirror puzzle to the Guild 2026-11-28 13:38:46 +01:00
backup.js Make Cards database restores reliable and schedule backups 2026-11-05 17:54:17 +01:00
catalog.js Refuse layered finishes without their files and lighten idle particle cards 2026-11-22 18:06:20 +01:00
daily-clues.js Rework the daily card page around what the player knows and hints opened in any order 2026-11-25 14:01:43 +01:00
daily-image.js Give each player their own daily card and send only the visible crop of its illustration 2026-11-18 16:47:52 +01:00
daily.js Compare the subject and theme of each daily guess, let players choose their hints and find cards by related words 2026-11-24 23:09:08 +01:00
database.js Add the Broken Mirror puzzle to the Guild 2026-11-28 13:38:46 +01:00
discord-alerts.js Send opt-in Discord alerts for Sokko TCG Expeditions through palico-bot 2026-11-15 17:09:29 +01:00
expedition-alerts.js Keep the expedition view in sync with other players and only send alerts players still want 2026-11-18 15:24:39 +01:00
expedition-content.js Give unlinked destinations single or double loot specialties, with one neutral destination and one linked destination per collection 2026-11-16 23:52:36 +01:00
expedition-equipment.js Let players who join a group set up their card and say when they are ready 2026-11-19 19:24:23 +01:00
expedition-group.js Give each pack collection its own power common, fix redundant commons and spell out powers in the interface 2026-11-24 13:18:38 +01:00
expedition-items.js Rework the expedition screens: in-place return, illustrated bag and workshop, card sheet tabs and an engraving workshop 2026-11-18 13:36:01 +01:00
expedition-progress.js Give each pack collection its own power common, fix redundant commons and spell out powers in the interface 2026-11-24 13:18:38 +01:00
expedition-rules.js Add the daily team administration, recruitment retouches, the Watchers' balm and a new Guild layout 2026-11-26 13:35:38 +01:00
expedition-service.js Add the daily team administration, recruitment retouches, the Watchers' balm and a new Guild layout 2026-11-26 13:35:38 +01:00
expedition-settings.js Add the daily team administration, recruitment retouches, the Watchers' balm and a new Guild layout 2026-11-26 13:35:38 +01:00
expedition-simulation.js Fix the audit's concurrency, stale state and delivery findings 2026-11-20 21:38:20 +01:00
game-rules.js Let administrators set the opening reserve size 2026-11-21 17:02:01 +01:00
mirror-image.js Add the Broken Mirror puzzle to the Guild 2026-11-28 13:38:46 +01:00
mirror-rules.js Add the Broken Mirror puzzle to the Guild 2026-11-28 13:38:46 +01:00
mirror-service.js Add the Broken Mirror puzzle to the Guild 2026-11-28 13:38:46 +01:00
mirror-settings.js Add the Broken Mirror puzzle to the Guild 2026-11-28 13:38:46 +01:00
race-rules.js Add the rules, storage and API of the daily team and its race 2026-11-25 21:14:36 +01:00
rewards.js Freeze pack rates in a campaign when it is created 2026-11-21 16:50:51 +01:00
service.js Add the Broken Mirror puzzle to the Guild 2026-11-28 13:38:46 +01:00
stardust.js Recycle duplicates in bulk up to a chosen rarity, never mythics 2026-11-19 09:26:25 +01:00
team-race.js Rework the daily team screens, share its team block and give the race its admin tab 2026-11-28 09:50:35 +01:00
team-rules.js Add the daily team administration, recruitment retouches, the Watchers' balm and a new Guild layout 2026-11-26 13:35:38 +01:00
team-service.js Rework the daily team screens, share its team block and give the race its admin tab 2026-11-28 09:50:35 +01:00
team-settings.js Rework the daily team screens, share its team block and give the race its admin tab 2026-11-28 09:50:35 +01:00