mirror of
https://github.com/syuilo/ai.git
synced 2024-11-09 15:38:00 +00:00
Add some log
This commit is contained in:
parent
69f271cae5
commit
2bd8b629ff
|
@ -69,6 +69,8 @@ export default class extends Module {
|
||||||
|
|
||||||
this.subscribeReply(null, false, post.id);
|
this.subscribeReply(null, false, post.id);
|
||||||
|
|
||||||
|
this.log('New kazutori game started');
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -129,6 +131,8 @@ export default class extends Module {
|
||||||
game.isEnded = true;
|
game.isEnded = true;
|
||||||
this.games.update(game);
|
this.games.update(game);
|
||||||
|
|
||||||
|
this.log('Kazutori game finished');
|
||||||
|
|
||||||
// お流れ
|
// お流れ
|
||||||
if (game.votes.length <= 1) {
|
if (game.votes.length <= 1) {
|
||||||
this.ai.post({
|
this.ai.post({
|
||||||
|
|
Loading…
Reference in a new issue