From c8bf30d0d8d8d88ab738f6377ad9b65c961b5d4f Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 10 Mar 2018 18:22:54 +0900 Subject: どこでも置けるモード実装 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/app/common/views/components/othello.game.vue | 6 ++++-- src/web/app/common/views/components/othello.room.vue | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src/web') diff --git a/src/web/app/common/views/components/othello.game.vue b/src/web/app/common/views/components/othello.game.vue index 26612daeac..fa3ed8d9a5 100644 --- a/src/web/app/common/views/components/othello.game.vue +++ b/src/web/app/common/views/components/othello.game.vue @@ -89,7 +89,8 @@ export default Vue.extend({ logPos(v) { if (!this.game.is_ended) return; this.o = new Othello(this.game.settings.map, { - isLlotheo: this.game.settings.is_llotheo + isLlotheo: this.game.settings.is_llotheo, + canPutEverywhere: this.game.settings.can_put_everywhere }); this.logs.forEach((log, i) => { if (i < v) { @@ -102,7 +103,8 @@ export default Vue.extend({ created() { this.o = new Othello(this.game.settings.map, { - isLlotheo: this.game.settings.is_llotheo + isLlotheo: this.game.settings.is_llotheo, + canPutEverywhere: this.game.settings.can_put_everywhere }); this.game.logs.forEach(log => { diff --git a/src/web/app/common/views/components/othello.room.vue b/src/web/app/common/views/components/othello.room.vue index 745074b17a..b7c28ae67d 100644 --- a/src/web/app/common/views/components/othello.room.vue +++ b/src/web/app/common/views/components/othello.room.vue @@ -26,6 +26,7 @@
+
ランダム {{ game.user1.name }}が黒 -- cgit v1.2.3-freya