diff options
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app/common/views/components/othello.game.vue | 6 | ||||
| -rw-r--r-- | src/web/app/common/views/components/othello.room.vue | 1 |
2 files changed, 5 insertions, 2 deletions
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 @@ <div class="rules"> <mk-switch v-model="game.settings.is_llotheo" @change="updateSettings" text="石の少ない方が勝ち(ロセオ)"/> + <mk-switch v-model="game.settings.can_put_everywhere" @change="updateSettings" text="どこでも置けるモード"/> <div> <el-radio v-model="game.settings.bw" label="random" @change="updateSettings">ランダム</el-radio> <el-radio v-model="game.settings.bw" :label="1" @change="updateSettings">{{ game.user1.name }}が黒</el-radio> |