Screens for FreeCell, Spider and Pyramid, and all three into the catalogue
Seven games now, and the three new ones are tappable. The furniture they share moves into CardTable: a place a card sits, an empty place that can still be tapped into, and the two dialogs for leaving. Klondike keeps its own copies rather than being rewritten to use them -- it was written first, its constants are tuned to seven columns, and its private helpers cannot collide with these. FreeCell puts the cells on the left and the homes on the right, which is what makes the cells read as somewhere to put things rather than somewhere cards come from. Spider shows the two numbers the game actually turns on above the columns: runs gone away, and rows still in the stock waiting to bury everything. Pyramid is drawn as it is dealt, each row offset half a card so every card sits in the notch between the two below it. The shape is the rules -- a card is only in play once both the cards resting on it have gone -- so seeing it at a glance is most of playing it. Tapping a king takes it alone; tapping anything else holds it and lights up only what would make thirteen with it. All three restart by rebuilding the controller, as Klondike and peg solitaire do, because a blocked deal is genuinely finished and advanceIdle never runs. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Urn6eEBA6XzrnfoibL7faC
This commit is contained in:
@@ -147,6 +147,39 @@ object GameCatalog {
|
||||
"and a pack that decides most of it before you start.",
|
||||
available = true,
|
||||
),
|
||||
GameDescriptor(
|
||||
id = FREECELL,
|
||||
title = "FreeCell",
|
||||
category = GameCategory.CARD,
|
||||
minPlayers = 1,
|
||||
maxPlayers = 1,
|
||||
teamBased = false,
|
||||
blurb = "Every card face up from the start, and four cells to park what is " +
|
||||
"in the way. Nearly every deal can be won by someone good enough.",
|
||||
available = true,
|
||||
),
|
||||
GameDescriptor(
|
||||
id = SPIDER,
|
||||
title = "Spider",
|
||||
category = GameCategory.CARD,
|
||||
minPlayers = 1,
|
||||
maxPlayers = 1,
|
||||
teamBased = false,
|
||||
blurb = "Two packs, ten columns, eight runs to build from king to ace. " +
|
||||
"One suit is a pastime; four is a fight.",
|
||||
available = true,
|
||||
),
|
||||
GameDescriptor(
|
||||
id = PYRAMID,
|
||||
title = "Pyramid",
|
||||
category = GameCategory.CARD,
|
||||
minPlayers = 1,
|
||||
maxPlayers = 1,
|
||||
teamBased = false,
|
||||
blurb = "Take cards away in pairs that make thirteen, kings alone. " +
|
||||
"Nothing is built and nothing goes home — the pyramid just has to go.",
|
||||
available = true,
|
||||
),
|
||||
GameDescriptor(
|
||||
id = SEQUENCE,
|
||||
title = "Sequence",
|
||||
|
||||
Reference in New Issue
Block a user