fabienjuif / subterra

Not finished clone of subterra board game
https://pedantic-lalande-d5e881.netlify.com/
0 stars 0 forks source link

:sparkles: excess #110

Closed fabienjuif closed 4 years ago

fabienjuif commented 4 years ago

fixes #51

fabienjuif commented 4 years ago

last commit https://github.com/fabienjuif/subterra/pull/110/commits/43c9622769a9f5fcea987750ed8e264f74006046 is a test to pass the turn after an excess.

Right now it does not work since we don't have time to play a "move" for example.

Solutions that I have in mind right now:

  1. actionsPoints should be negative, after an action if action point is negative it trigger "pass"
  2. the action to play should have a field that shows it comes from a excess, after the action is performed it trigger "pass"
fabienjuif commented 4 years ago

I chose to store that we are on excess in the store