diff --git a/src/views/Home.vue b/src/views/Home.vue index 236c20a..92344d7 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -27,13 +27,14 @@ @@ -120,6 +121,9 @@ export default class Home extends Vue { if (this.gameJoined && this.playerId) { PerudoApi.instance.startGame(this.playerId).then((response: ApiObject) => { this.gameState = GameState.Started; + this.gameTimer = setInterval(() => { + this.checkTurn(); + }, 1000); }).catch((reason => { this.error = reason; }));