mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-06 04:45:37 +02:00
ループモード実装
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user