Commit Graph

72 Commits

Author SHA1 Message Date
134ab9a284 endgame logic; bug fix in gold chip for reserved cards 2022-08-19 13:35:23 -05:00
4d3f6bfeb4 patch for score calculations 2022-08-19 12:47:11 -05:00
8c6222864a allows player to take gold chip when reserving card 2022-08-17 12:10:07 -05:00
3cdc1a78c8 buy card appears to account for permanent resource upgrades 2022-08-17 11:44:45 -05:00
e922a73fa1 to do: differentiate between gold for purchase vs. held card for purchase 2022-08-16 12:48:05 -05:00
6914d44900 implemented purchase of a reserved card 2022-08-16 12:18:22 -05:00
40904d36d3 version maintenance 2022-08-16 11:31:22 -05:00
3234966629 merge conflict 2022-08-12 15:06:11 -05:00
15e32503e3 quick bug fix 2022-08-12 14:48:09 -05:00
fb38130c17 gold chips appear to function correctly? 2022-08-12 14:30:36 -05:00
2fba7b30fa recognizes gold chip requirement 2022-08-12 13:37:17 -05:00
74587d0a0e ui update: player card view shows number of each permanent resource upgrade 2022-08-12 11:19:37 -05:00
ab6a190cb5 in progress: gold chip functionality 2022-08-12 10:38:45 -05:00
6a40c0e592 tooExpensive gold chips test fails 2022-08-09 14:57:31 -05:00
35931eb8e5 implemented usePreviousPlayer, preparing to implement gold chip funcitonality 2022-08-09 14:27:59 -05:00
Mikayla Dobson
fd6d96737a Merge pull request #2 from innocuous-symmetry/rework-080522
Rework 080522
2022-08-06 19:28:44 -05:00
afc3e9ac47 to do: bug, points assigned to wrong player in setStateGetNoble. trigger endgame action 2022-08-06 19:22:35 -05:00
adc653abbf defined logic for picking up noble, adding to score 2022-08-06 19:14:40 -05:00
b0c81078ae score adds to player data when purchasing a card: 2022-08-06 18:05:12 -05:00
55308bd732 found bug: incorrect conditional, global resource was skipped if value was 0, falsy 2022-08-06 17:46:18 -05:00
bde0b1f66d computer mouse problems 2022-08-06 14:33:48 -05:00
8fba7605b4 added counter for cards remaining 2022-08-06 12:13:12 -05:00
381027eb82 purchased cards removed from available face up cards, replaced with new card from deck 2022-08-06 11:52:18 -05:00
9c067172bf accounts for permanent resources 2022-08-05 20:28:07 -05:00
e0ad965ac2 cleanup 2022-08-05 19:53:20 -05:00
c7138038fa to do: rendering problem after buy card, remove purchased card from gameboard 2022-08-05 18:55:07 -05:00
9abd8b2667 preparing to redefine some actions 2022-08-05 14:08:31 -05:00
4de7c30804 to do: updateResources action, actions test suite 2022-07-31 18:14:55 -05:00
5fd2ca0344 in progress: developing test suite with vitest 2022-07-31 17:57:42 -05:00
6d7d859fe9 in progress: debugging buy card action 2022-07-31 14:46:25 -05:00
1122336742 cleanup after refactoring action type functionality 2022-07-31 13:00:14 -05:00
6b79ce1be0 simplifying action selection workflow to prevent bugs 2022-07-31 12:54:27 -05:00
fa297bc09c reserve card action defined 2022-07-31 11:43:25 -05:00
Mikayla Dobson
70f2bbe16f to do: reserve card action, include gold chip or not 2022-07-30 08:43:51 -05:00
Mikayla Dobson
3e8d3b5e03 includes held cards in total available resources 2022-07-30 08:24:41 -05:00
Mikayla Dobson
3ba8dedcfa card is replaced on purchase 2022-07-30 08:01:24 -05:00
b6df8714aa mini cards render in player ui. to do: remove purchased cards from board and stage next card 2022-07-26 14:02:12 -05:00
ae4109a5fa restructuring 2022-07-26 13:52:47 -05:00
94f7f2c75c player's spent resources are allocated back to global resource pool 2022-07-26 13:22:01 -05:00
04def01185 supports basic point tracking and turn order handling on card purchase 2022-07-26 13:10:06 -05:00
4c4d52b983 buying a card spends appropriate number of a player's chips 2022-07-26 13:02:38 -05:00
ed91a44340 cleanup 2022-07-26 12:41:12 -05:00
Mikayla Dobson
df36588d3d in progress: cleanup project structure 2022-07-25 13:16:45 -05:00
Mikayla Dobson
a7580021f8 defined card cost validating function 2022-07-25 12:55:33 -05:00
Mikayla Dobson
1ce3026e6f in progress: ui for viewing player resources 2022-07-25 12:29:39 -05:00
Mikayla Dobson
7d78cdddca does not allow player to take non-existent resources 2022-07-25 11:55:44 -05:00
Mikayla Dobson
fe58efdb5d Merge pull request #1 from innocuous-symmetry/state-mgmt-backtrack
merge into master, turn order functionality and resource handling
2022-07-24 14:14:16 -05:00
Mikayla Dobson
b501424da3 Merge branch 'master' into state-mgmt-backtrack 2022-07-24 14:13:43 -05:00
Mikayla Dobson
efc9955587 global resource stockpile updates as well 2022-07-24 14:02:39 -05:00
Mikayla Dobson
a073304659 state setter formats 2022-07-24 13:44:46 -05:00