diff --git a/client/src/components/GameControls.vue b/client/src/components/GameControls.vue index 2285c33..3892a71 100644 --- a/client/src/components/GameControls.vue +++ b/client/src/components/GameControls.vue @@ -2,6 +2,7 @@ @@ -23,6 +24,9 @@ export default { resetGame() { this.$engine.resetGame() }, + continueGame() { + this.$engine.continueGame() + }, }, } diff --git a/client/src/components/Play.vue b/client/src/components/Play.vue index cdbe0af..86dea11 100644 --- a/client/src/components/Play.vue +++ b/client/src/components/Play.vue @@ -3,8 +3,8 @@
- - + +
@@ -28,6 +28,14 @@ export default { players() { return this.$store.state.players.players }, + selectable() { + const userId = this.$store.state.engine.user.id + const selection = this.$store.state.round.selections[userId] + + if (this.$store.state.game.phase != 'select-quote') return false + if (typeof selection === 'undefined') return true + return !selection + }, }, } diff --git a/client/src/components/PlayerList.vue b/client/src/components/PlayerList.vue index 729d2f1..b73278d 100644 --- a/client/src/components/PlayerList.vue +++ b/client/src/components/PlayerList.vue @@ -29,7 +29,6 @@ export default { &__player { display: flex; - // height: 1.4em; color: #ffffff; font-family: Dosis; font-size: 18px; diff --git a/client/src/components/Source.vue b/client/src/components/Source.vue index 1e0f84e..05af22b 100644 --- a/client/src/components/Source.vue +++ b/client/src/components/Source.vue @@ -1,7 +1,7 @@