diff --git a/src/allGames.ts b/src/allGames.ts index bad3fc3..9d48385 100644 --- a/src/allGames.ts +++ b/src/allGames.ts @@ -11,6 +11,7 @@ import Wingspan from './games/wingspan/main'; import ForestShuffle from './games/forest-shuffle/main'; import WorldWonders from './games/world-wonders/main'; import SeaSaltPaper from './games/sea-salt-paper/main'; +import SpiritsOfTheWild from './games/spirits-of-the-wild/main'; export function getAllGames() { return [ @@ -27,6 +28,7 @@ export function getAllGames() { WorldWonders, ForestShuffle, SeaSaltPaper, + SpiritsOfTheWild, ]; } diff --git a/src/games/spirits-of-the-wild/View.tsx b/src/games/spirits-of-the-wild/View.tsx new file mode 100644 index 0000000..fbed245 --- /dev/null +++ b/src/games/spirits-of-the-wild/View.tsx @@ -0,0 +1,6 @@ +import GameView from '../../components/GameView'; +import getDefinition from './definition'; + +export default function SpiritsOfTheWildView() { + return ; +} diff --git a/src/games/spirits-of-the-wild/assets/beaver.png b/src/games/spirits-of-the-wild/assets/beaver.png new file mode 100644 index 0000000..13064ac Binary files /dev/null and b/src/games/spirits-of-the-wild/assets/beaver.png differ diff --git a/src/games/spirits-of-the-wild/assets/owl.png b/src/games/spirits-of-the-wild/assets/owl.png new file mode 100644 index 0000000..09ce36d Binary files /dev/null and b/src/games/spirits-of-the-wild/assets/owl.png differ diff --git a/src/games/spirits-of-the-wild/assets/rabbit.png b/src/games/spirits-of-the-wild/assets/rabbit.png new file mode 100644 index 0000000..bf5515b Binary files /dev/null and b/src/games/spirits-of-the-wild/assets/rabbit.png differ diff --git a/src/games/spirits-of-the-wild/assets/salmon.png b/src/games/spirits-of-the-wild/assets/salmon.png new file mode 100644 index 0000000..7195274 Binary files /dev/null and b/src/games/spirits-of-the-wild/assets/salmon.png differ diff --git a/src/games/spirits-of-the-wild/assets/turtle.png b/src/games/spirits-of-the-wild/assets/turtle.png new file mode 100644 index 0000000..1b02a55 Binary files /dev/null and b/src/games/spirits-of-the-wild/assets/turtle.png differ diff --git a/src/games/spirits-of-the-wild/definition.ts b/src/games/spirits-of-the-wild/definition.ts new file mode 100644 index 0000000..27bef04 --- /dev/null +++ b/src/games/spirits-of-the-wild/definition.ts @@ -0,0 +1,43 @@ +import { GameDef } from '../../api/types/GameDef'; +import { WinMode } from '../../api/types/WinMode'; +import owl from './assets/owl.png'; +import rabbit from './assets/rabbit.png'; +import beaver from './assets/beaver.png'; +import turtle from './assets/turtle.png'; +import salmon from './assets/salmon.png'; +export default function getDefinition(): GameDef { + return { + title: 'Spirits of the Wild', + url: 'https://boardgamegeek.com/boardgame/256606/spirits-of-the-wild', + rulesUrl: + 'https://s3.amazonaws.com/geekdo-files.com/bgg222578?response-content-disposition=inline%3B%20filename%3D%22SpiritsOfTheWild-Rules-DOM-03-Digital.pdf%22&response-content-type=application%2Fpdf&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJYFNCT7FKCE4O6TA%2F20241019%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241019T181306Z&X-Amz-SignedHeaders=host&X-Amz-Expires=120&X-Amz-Signature=93a304c53762c1f6cd4d9eedfbccf51a7cd9487d4b5d0697fedd401a37473efc', + bgColor: '#0b0738', + fontColor: '#fff', + primaryColor: '#00d1f7', + secondaryColor: '#fff', + playerSizes: [2], + winMode: WinMode.MOST, + rows: [ + { + name: 'Owl', + icon: owl, + }, + { + name: 'Rabbit', + icon: rabbit, + }, + { + name: 'Beaver', + icon: beaver, + }, + { + name: 'Salmon', + icon: salmon, + }, + { + name: 'Turtle', + icon: turtle, + }, + ], + }; +} diff --git a/src/games/spirits-of-the-wild/main.ts b/src/games/spirits-of-the-wild/main.ts new file mode 100644 index 0000000..8b06a2a --- /dev/null +++ b/src/games/spirits-of-the-wild/main.ts @@ -0,0 +1,8 @@ +import getDefinition from './definition'; +import SpiritsOfTheWildView from './View'; + +const SpiritsOfTheWild = { + view: SpiritsOfTheWildView, + definition: getDefinition(), +}; +export default SpiritsOfTheWild;