diff --git a/site/src/components/Game.vue b/site/src/components/Game.vue index 2ef74f7..af4ba2c 100644 --- a/site/src/components/Game.vue +++ b/site/src/components/Game.vue @@ -5,7 +5,7 @@ - + diff --git a/site/src/components/GameStatus.vue b/site/src/components/GameStatus.vue index 7c56fbb..9c9e09f 100644 --- a/site/src/components/GameStatus.vue +++ b/site/src/components/GameStatus.vue @@ -25,6 +25,7 @@ import type { Game } from '@/lib/game'; export interface Props { game: Game; + dealer: boolean; } const props = defineProps(); @@ -36,7 +37,7 @@ const roundChips = computed(() => [ ] as const); const actionMessages: Record string> = { - Start: () => "THE MATCH BEGINS", + Start: () => props.dealer ? "YOU ARE THE DEALER" : "YOU ARE THE CHALLENGER", Shoot: (game) => game.previous ? "THE PAIN..." : "A BLANK CLATTERS ON THE TABLE", GameEnd: () => "THE DEALER RELOADS THE SHOTGUN", BeerGameEnd: () => "THE LAST SHELL CLATTERS ON THE TABLE",