From 84b5ada639f50ac146f2fa770161442d4c1f2d74 Mon Sep 17 00:00:00 2001 From: Brian Fertig Date: Sun, 17 May 2026 09:34:54 -0600 Subject: [PATCH] Added Data --- .gitignore | 2 +- public/data/card-backs.json | 13 ++++++++ public/data/opponents.json | 64 +++++++++++++++++++++++++++++++++++++ public/data/playfields.json | 44 +++++++++++++++++++++++++ 4 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 public/data/card-backs.json create mode 100644 public/data/opponents.json create mode 100644 public/data/playfields.json diff --git a/.gitignore b/.gitignore index 02cb8a9..2ad9476 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ node_modules/ .env -data/ +/data/ public/uploads/ *.log .DS_Store diff --git a/public/data/card-backs.json b/public/data/card-backs.json new file mode 100644 index 0000000..8927a61 --- /dev/null +++ b/public/data/card-backs.json @@ -0,0 +1,13 @@ +{ + "default": "back-0", + "cardBacks": [ + { "id": "back-0", "name": "Card Back 1", "key": "cardbacks", "spriteIndex": 0, "fallbackColor": "#1a3a6b" }, + { "id": "back-1", "name": "Card Back 2", "key": "cardbacks", "spriteIndex": 1, "fallbackColor": "#1a3a6b" }, + { "id": "back-2", "name": "Card Back 3", "key": "cardbacks", "spriteIndex": 2, "fallbackColor": "#1a3a6b" }, + { "id": "back-3", "name": "Card Back 4", "key": "cardbacks", "spriteIndex": 3, "fallbackColor": "#1a3a6b" }, + { "id": "back-4", "name": "Card Back 5", "key": "cardbacks", "spriteIndex": 4, "fallbackColor": "#1a3a6b" }, + { "id": "back-5", "name": "Card Back 6", "key": "cardbacks", "spriteIndex": 5, "fallbackColor": "#1a3a6b" }, + { "id": "back-6", "name": "Card Back 7", "key": "cardbacks", "spriteIndex": 6, "fallbackColor": "#1a3a6b" }, + { "id": "back-7", "name": "Card Back 8", "key": "cardbacks", "spriteIndex": 7, "fallbackColor": "#1a3a6b" } + ] +} diff --git a/public/data/opponents.json b/public/data/opponents.json new file mode 100644 index 0000000..1547908 --- /dev/null +++ b/public/data/opponents.json @@ -0,0 +1,64 @@ +{ + "opponents": [ + { + "id": "cybro", + "spriteIndex": 0, + "name": "Cy-Bro", + "bio": "AI Bro sent from the future to show the superiority of the future." + }, + { + "id": "brad", + "spriteIndex": 1, + "name": "Brad", + "bio": "Came for the honey, stayed for the salmon!" + }, + { + "id": "victor", + "spriteIndex": 2, + "name": "Victor", + "bio": "Patient and calculating. Moves are made using ancient technology." + }, + { + "id": "croc", + "spriteIndex": 3, + "name": "Croc", + "bio": "Wassssuppp everybody! I'm here for the party!!" + }, + { + "id": "mario", + "spriteIndex": 4, + "name": "Mario", + "bio": "Can you find your way out of my maze of puzzles, games and fun!" + }, + { + "id": "ethel", + "spriteIndex": 5, + "name": "Ethel", + "bio": "Thank you for visiting with me." + }, + { + "id": "jeff", + "spriteIndex": 6, + "name": "Jeff", + "bio": "I play slow, I win fast!" + }, + { + "id": "gerome", + "spriteIndex": 7, + "name": "Gerome", + "bio": "I'm here for the thrill of extreme victory!" + }, + { + "id": "fireball", + "spriteIndex": 8, + "name": "Fireball", + "bio": "Come on let's play! I promise not to use my x-ray eyes." + }, + { + "id": "bernie", + "spriteIndex": 9, + "name": "Bernie", + "bio": "Having fun and playing is the name of the game for me!" + } + ] +} \ No newline at end of file diff --git a/public/data/playfields.json b/public/data/playfields.json new file mode 100644 index 0000000..c98a661 --- /dev/null +++ b/public/data/playfields.json @@ -0,0 +1,44 @@ +{ + "default": "cherry", + "playfields": [ + { + "id": "cherry", + "name": "Cherry Wooden Table", + "key": "playfield-cherry", + "path": "/assets/images/playfield-wood-cherry.png" + }, + { + "id": "light", + "name": "Bright Wooden Table", + "key": "playfield-light", + "path": "/assets/images/playfield-wood-light.png" + }, + { + "id": "dark", + "name": "Dark Wooden Table", + "key": "playfield-dark", + "path": "/assets/images/playfield-wood-dark.png" + }, + { + "id": "felt", + "name": "Green Felt", + "key": "playfield-felt", + "path": "/assets/images/playfield-felt-green.png", + "fallbackColor": "#14532d" + }, + { + "id": "red", + "name": "Red Felt", + "key": "playfield-red", + "path": "/assets/images/playfield-felt-red.png", + "fallbackColor": "#14532d" + }, + { + "id": "felt", + "name": "Blue Felt", + "key": "playfield-blue", + "path": "/assets/images/playfield-felt-blue.png", + "fallbackColor": "#14532d" + } + ] +} \ No newline at end of file