ループモード実装
This commit is contained in:
parent
e4aabf9357
commit
e6d2cbe6a3
6 changed files with 59 additions and 8 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue