Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #411 from ocadotechnology/increase_turn_interval
Browse files Browse the repository at this point in the history
Increase turn interval
  • Loading branch information
CelineBoudier authored Dec 19, 2017
2 parents f7875ee + ed55e99 commit 4a43ca0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aimmo-game/simulation/turn_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

LOGGER = logging.getLogger(__name__)

TURN_INTERVAL = 2


class GameStateProvider:
"""
Expand Down Expand Up @@ -87,7 +89,7 @@ def run(self):
if game_state.is_complete():
LOGGER.info('Game complete')
self._mark_complete()
time.sleep(0.5)
time.sleep(TURN_INTERVAL)


class SequentialTurnManager(TurnManager):
Expand Down

0 comments on commit 4a43ca0

Please sign in to comment.