-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: Wed 27 Nov 2024 12:09:09 PM CET
- Loading branch information
Showing
11 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import GameView from '../../components/GameView'; | ||
import getDefinition from './definition'; | ||
|
||
export default function TheWhiteCastleView() { | ||
return <GameView definition={getDefinition()} />; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
import { GameDef } from '../../api/types/GameDef'; | ||
import { WinMode } from '../../api/types/WinMode'; | ||
import FontUtils from '../../api/utils/FontUtils'; | ||
import clanPoints from './assets/clan-points.png'; | ||
import coins from './assets/coins.png'; | ||
import courtier from './assets/courtier.png'; | ||
import gardener from './assets/gardener.png'; | ||
import passageOfTime from './assets/passage-of-time.png'; | ||
import resources from './assets/resources.png'; | ||
import warrior from './assets/warrior.png'; | ||
|
||
export default function getDefinition(): GameDef { | ||
return { | ||
title: 'The White Castle', | ||
url: 'https://boardgamegeek.com/boardgame/371942/the-white-castle', | ||
rulesUrl: | ||
'https://www.thamesandkosmos.co.uk/wp-content/uploads/2023/07/WHITE_CASTLE_ENG.pdf', | ||
bgColor: '#e7daca', | ||
fontColor: '#342d38', | ||
primaryColor: '#3d3544', | ||
secondaryColor: '#fad668', | ||
fontFamily: FontUtils.CLASSIC, | ||
stripeColor: '#cfb5a6', | ||
playerSizes: [1, 2, 3, 4], | ||
winMode: WinMode.MOST, | ||
rows: [ | ||
{ | ||
name: 'Clan Points', | ||
icon: clanPoints, | ||
description: 'Clan points that you earned during the game.', | ||
}, | ||
{ | ||
name: 'Passage of Time', | ||
icon: passageOfTime, | ||
description: 'Get points for your passage of time track.', | ||
}, | ||
{ | ||
name: 'Gardener', | ||
icon: gardener, | ||
description: 'Score the points for your gardeners on the board.', | ||
}, | ||
{ | ||
name: 'Warrior', | ||
icon: warrior, | ||
description: 'Score the points for your warriors on the board.', | ||
}, | ||
{ | ||
name: 'Courtier', | ||
icon: courtier, | ||
description: 'Score the points for your courtiers on the board.', | ||
}, | ||
{ | ||
name: 'Resources', | ||
icon: resources, | ||
description: 'Get points for resources you have left.', | ||
}, | ||
{ | ||
name: 'Coins', | ||
icon: coins, | ||
description: 'Get 1 point for every 5 coins you have.', | ||
}, | ||
], | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import getDefinition from './definition'; | ||
import TheWhiteCastleView from './View'; | ||
|
||
const TheWhiteCastle = { | ||
view: TheWhiteCastleView, | ||
definition: getDefinition(), | ||
}; | ||
export default TheWhiteCastle; |