From 3c1cb63bad224b23cc50d180c6ce801974f8d84a Mon Sep 17 00:00:00 2001 From: Mark Hernandez Date: Sat, 8 Aug 2026 00:01:53 -0500 Subject: [PATCH] Add notes about planned store logic --- package.json | 1 + src/store/README.md | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 src/store/README.md diff --git a/package.json b/package.json index f6be9df..966ad55 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "#components/*": "./src/components/*", "#core/*": "./src/core/*", "#lobo/*": "./src/lobo/*", + "#store/*": "./src/store/*", "#types/*": "./src/types/*", "#utils/*": "./src/utils/*" }, diff --git a/src/store/README.md b/src/store/README.md new file mode 100644 index 0000000..f733518 --- /dev/null +++ b/src/store/README.md @@ -0,0 +1,18 @@ +# Store + +The following information must be presented and/or tracked for the game (not necessarily within the store itself): + +- Overall scores for the wolf and the player +- Current hands for the wolf and the player +- Wolf cards targeted for attacks +- Player attacking cards selected +- Handled by [Library](../core/library.ts) class + - Next card to be drawn + - Cards remaining to draw + +The following can be derived/calculated from the above state data: + +- Available attacks +- Round winner +- Points to award the round winner +- Game winner -- 2.51.2