Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track moves #24

Merged
merged 21 commits into from
Oct 26, 2024
Merged

Track moves #24

merged 21 commits into from
Oct 26, 2024

Conversation

michaelchadwick
Copy link
Owner

@michaelchadwick michaelchadwick commented Oct 25, 2024

Fixed #22

Actions are now tracked in Deckdle.settings and localStorage as an actions array. Models for Action, StockAction, TableauAction, and UndoAction are added to this array as they happen. Game Over modal shows how many actions (displayed as "moves") were taken (including undos, if there were any).

@michaelchadwick michaelchadwick merged commit 165f404 into main Oct 26, 2024
1 of 2 checks passed
@michaelchadwick michaelchadwick deleted the track-moves branch October 26, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Track actual moves, not just state
1 participant