From e6d2cbe6a3331894dca198e006c1c4c02c3f3d69 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 10 Mar 2018 21:23:00 +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 fa3ed8d9a5..a84dcedd44 100644 --- a/src/web/app/common/views/components/othello.game.vue +++ b/src/web/app/common/views/components/othello.game.vue @@ -90,7 +90,8 @@ export default Vue.extend({ if (!this.game.is_ended) return; this.o = new Othello(this.game.settings.map, { isLlotheo: this.game.settings.is_llotheo, - canPutEverywhere: this.game.settings.can_put_everywhere + canPutEverywhere: this.game.settings.can_put_everywhere, + loopedBoard: this.game.settings.looped_board }); this.logs.forEach((log, i) => { if (i < v) { @@ -104,7 +105,8 @@ export default Vue.extend({ created() { this.o = new Othello(this.game.settings.map, { isLlotheo: this.game.settings.is_llotheo, - canPutEverywhere: this.game.settings.can_put_everywhere + canPutEverywhere: this.game.settings.can_put_everywhere, + loopedBoard: this.game.settings.looped_board }); 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 b7c28ae67d..dfdc43ef96 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 @@
+
ランダム -- cgit v1.2.3-freya