Skip to content

Let a symbol repeat when it owns an internal feature - #43

Merged
TimBest merged 1 commit into
mainfrom
claude/custom-deck-fried-egg-nmm9g3
Jul 30, 2026
Merged

Let a symbol repeat when it owns an internal feature#43
TimBest merged 1 commit into
mainfrom
claude/custom-deck-fried-egg-nmm9g3

Conversation

@TimBest

@TimBest TimBest commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

The deck builder made every card's symbol unique, which left one deck
unbuildable: three fried eggs telling each other apart by yolk count. The
yolks feature only unlocks once every card is an egg, and the uniqueness
rule made that unreachable.

A shape that owns a requiresShapeSupport feature now stands in for the
symbol feature, so it can be worn by more than one card. Picking it a
second time collapses the deck onto that one symbol — the symbol stops
varying and its internal feature switches on with a value per card —
which also keeps the generated deck from holding cards that render
identically. Shapes owning no such feature are still one to a deck.

The card count follows from the same data: a deck can hold no more cards
than the smallest option pool it varies, so three yolk counts cap an egg
deck at three cards. That also closes a latent hole where adding a card
past a feature's option count wrote undefined into deck metadata.

None of this names the fried egg — capacity, unlocking and the card cap
all read the shape registry and the feature table, so the next shape with
its own feature gets the same treatment.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01EA4U1xNbvJ3BwVKft8ECjh

The deck builder made every card's symbol unique, which left one deck
unbuildable: three fried eggs telling each other apart by yolk count. The
yolks feature only unlocks once every card is an egg, and the uniqueness
rule made that unreachable.

A shape that owns a `requiresShapeSupport` feature now stands in for the
symbol feature, so it can be worn by more than one card. Picking it a
second time collapses the deck onto that one symbol — the symbol stops
varying and its internal feature switches on with a value per card —
which also keeps the generated deck from holding cards that render
identically. Shapes owning no such feature are still one to a deck.

The card count follows from the same data: a deck can hold no more cards
than the smallest option pool it varies, so three yolk counts cap an egg
deck at three cards. That also closes a latent hole where adding a card
past a feature's option count wrote `undefined` into deck metadata.

None of this names the fried egg — capacity, unlocking and the card cap
all read the shape registry and the feature table, so the next shape with
its own feature gets the same treatment.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EA4U1xNbvJ3BwVKft8ECjh
@netlify

netlify Bot commented Jul 30, 2026

Copy link
Copy Markdown

Deploy Preview for imaginative-dieffenbachia-3400e7 ready!

Name Link
🔨 Latest commit 5eb9835
🔍 Latest deploy log https://app.netlify.com/projects/imaginative-dieffenbachia-3400e7/deploys/6a6bc80ec59ded000827d410
😎 Deploy Preview https://deploy-preview-43--imaginative-dieffenbachia-3400e7.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@TimBest
TimBest merged commit a7c33e1 into main Jul 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants