-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(additional-cards): remove additional cards count (#1272)
- Loading branch information
1 parent
b85bbb4
commit fc9be84
Showing
21 changed files
with
20,345 additions
and
20,412 deletions.
There are no files selected for viewing
7 changes: 6 additions & 1 deletion
7
src/modules/game/constants/game-additional-card/game-additional-card.constants.ts
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 |
---|---|---|
@@ -1,5 +1,10 @@ | ||
import type { RoleName } from "@/modules/role/types/role.types"; | ||
|
||
const MAX_ADDITIONAL_CARDS_COUNT_FOR_RECIPIENT = 5; | ||
|
||
const GAME_ADDITIONAL_CARDS_RECIPIENTS = ["thief", "actor"] as const satisfies readonly RoleName[]; | ||
|
||
export { GAME_ADDITIONAL_CARDS_RECIPIENTS }; | ||
export { | ||
MAX_ADDITIONAL_CARDS_COUNT_FOR_RECIPIENT, | ||
GAME_ADDITIONAL_CARDS_RECIPIENTS, | ||
}; |
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
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
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
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
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
26 changes: 26 additions & 0 deletions
26
...s/acceptance/features/game/data/game-additional-cards/six-additional-cards-for-actor.json
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,26 @@ | ||
[ | ||
{ | ||
"roleName": "seer", | ||
"recipient": "actor" | ||
}, | ||
{ | ||
"roleName": "witch", | ||
"recipient": "actor" | ||
}, | ||
{ | ||
"roleName": "hunter", | ||
"recipient": "actor" | ||
}, | ||
{ | ||
"roleName": "elder", | ||
"recipient": "actor" | ||
}, | ||
{ | ||
"roleName": "wild-child", | ||
"recipient": "actor" | ||
}, | ||
{ | ||
"roleName": "little-girl", | ||
"recipient": "actor" | ||
} | ||
] |
26 changes: 26 additions & 0 deletions
26
...s/acceptance/features/game/data/game-additional-cards/six-additional-cards-for-thief.json
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,26 @@ | ||
[ | ||
{ | ||
"roleName": "white-werewolf", | ||
"recipient": "thief" | ||
}, | ||
{ | ||
"roleName": "werewolf", | ||
"recipient": "thief" | ||
}, | ||
{ | ||
"roleName": "villager-villager", | ||
"recipient": "thief" | ||
}, | ||
{ | ||
"roleName": "idiot", | ||
"recipient": "thief" | ||
}, | ||
{ | ||
"roleName": "wolf-hound", | ||
"recipient": "thief" | ||
}, | ||
{ | ||
"roleName": "big-bad-wolf", | ||
"recipient": "thief" | ||
} | ||
] |
7 changes: 0 additions & 7 deletions
7
tests/acceptance/features/game/data/game-options/thief-has-five-additional-cards-option.json
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.