mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix
This commit is contained in:
@@ -48,7 +48,7 @@ module.exports = class TicTacToeCommand extends Command {
|
||||
let choice;
|
||||
if (opponent.bot && !userTurn) {
|
||||
// eslint-disable-next-line new-cap
|
||||
choice = ComputerMove(this.convertBoard(sides), { aiPlayer: 'o', huPlayer: 'x' }, 'Hard');
|
||||
choice = ComputerMove(this.convertBoard(sides), { aiPlayer: 'O', huPlayer: 'X' }, 'Hard');
|
||||
} else {
|
||||
await msg.say(stripIndents`
|
||||
${user}, which side do you pick? Type \`end\` to forfeit.
|
||||
|
||||
Reference in New Issue
Block a user