mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
This commit is contained in:
parent
31e7111050
commit
c02881a2a4
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class TicTacToe extends Command {
|
|||
const game = new TTT({ language: "ru" })
|
||||
game.handleMessage(message);
|
||||
|
||||
game.once("win", data => {
|
||||
game.on("win", data => {
|
||||
console.log(data.winner + " wins the TicTacToe game!");
|
||||
console.log(data.loser + " loses the TicTacToe game!");
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue