Commit Graph

60 Commits

Author SHA1 Message Date
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
Mikayla Dobson
f6ce03a8dc chip selection validator works as expected 2022-07-24 12:56:11 -05:00
Mikayla Dobson
33736c6659 in progress: ui prompt on player component 2022-07-24 11:36:37 -05:00
Mikayla Dobson
00b2442598 action types being passed between components 2022-07-24 11:09:31 -05:00
Mikayla Dobson
30425cde91 resource selection lifted to gameboard state 2022-07-24 10:15:06 -05:00
Mikayla Dobson
dc603c891a incorporating actions and chip selection into state 2022-07-24 10:10:40 -05:00
Mikayla Dobson
120d6773a6 backtracking 2022-07-24 09:45:01 -05:00
Mikayla Dobson
a76823f2b5 to do: pass props back to parent from children 2022-07-23 14:05:36 -05:00
Mikayla Dobson
3cfad260bf incorporating action types into app state 2022-07-23 12:41:18 -05:00
Mikayla Dobson
a5c5b83b27 in progress: turn handling for picking up resources 2022-07-23 11:59:55 -05:00
Mikayla Dobson
d5cc2c9466 proper turn order handling, round change logic 2022-07-23 10:20:42 -05:00
Mikayla Dobson
d01f555c1e props passed through components successfully 2022-07-23 09:42:07 -05:00
Mikayla Dobson
ec53f1889d to do: rendering problem in resource component 2022-07-21 17:34:25 -05:00