fabienjuif / subterra

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

excess #51

Closed fabienjuif closed 4 years ago

WesleyRUCHAUD commented 4 years ago

Search all possibilities and then filter them by cost <= player.actionPoints + 1 When a possibilities is performed then: player.actionPoints = player.actionPoints - action.cost (can be -1) and if player.actionPoints < 0 then dispatch an excess.