Given we are in a day-by-day game loop cycle, we want to implement a command to gather resources. The player will issue the command at the beginning of the day:
And the game will gather on behalf of the player the specified resource. The resource list is know so the player can't arbitrarily gather random resources. The initial implementation should support gathering wood (fuel), water, and food for now.
Successful gathering of a resource should increment the player's resource count for that thing by 100.
So if the player has 23 food and they successfully gather food, the count should go up to 123.
We want tests to cover this mechanic.
Given we are in a day-by-day game loop cycle, we want to implement a command to gather resources. The player will issue the command at the beginning of the day:
And the game will gather on behalf of the player the specified resource. The resource list is know so the player can't arbitrarily gather random resources. The initial implementation should support gathering wood (fuel), water, and food for now.
Successful gathering of a resource should increment the player's resource count for that thing by 100.
So if the player has 23 food and they successfully gather food, the count should go up to 123.
We want tests to cover this mechanic.