darozak / Advolition

1 stars 0 forks source link

The game will only run for a set amount of time before a winner is declared #69

Closed darozak closed 4 months ago

darozak commented 4 months ago

Have the game time count down to zero. When it reaches zero, the game will end and the winner will be declared based on the value of its possessions.

darozak commented 4 months ago

All set! Game time is set when constructing the game object and counts down to zero. When it reaches zero, the game stops and robot scores can be compared to identify the winner. (https://github.com/darozak/Advolition/commit/a2c6ce7ded16fa5b3b761bc9a94dd92aa7056ae1)