Initial pass at unicorn pack.

This commit is contained in:
Greyson Parrelli
2026-07-25 00:37:44 -04:00
parent f3783b44bf
commit a1d57fe1dd
21 changed files with 2419 additions and 44 deletions
+2 -4
View File
@@ -1,9 +1,7 @@
package game
// Card packs are the selectable sets of pets and food a game is played with.
// Turtle and Golden ship with full card data; Unicorn is declared here as
// infrastructure (shown but not yet playable) so the lobby, views, and
// deck-building all have a single source of truth to grow into.
// Turtle, Golden, and Unicorn all ship with full six-tier card data.
// PackInfo describes one selectable pack. Playable gates whether a lobby may
// choose it and start a game with it.
@@ -21,7 +19,7 @@ const DefaultPack = "turtle"
var Packs = []PackInfo{
{ID: "turtle", Name: "Turtle Pack", Emoji: "🐢", Playable: true},
{ID: "golden", Name: "Golden Pack", Emoji: "🥇", Playable: true},
{ID: "unicorn", Name: "Unicorn Pack", Emoji: "🦄", Playable: false},
{ID: "unicorn", Name: "Unicorn Pack", Emoji: "🦄", Playable: true},
}
// packByID looks up a pack, returning false if the id is unknown.