diff --git a/src/games/wordle.js b/src/games/wordle.js index 8e35a50..8d3b18d 100644 --- a/src/games/wordle.js +++ b/src/games/wordle.js @@ -131,7 +131,7 @@ function play(guess, context) { const valid = prevLetters.every((letter, index) => { if (wordle.letters.get(letter) === false && !guessLetters.includes(letter)) { context.sendMessage(`(Hard) Your guess must include the letter ${config.platform === 'irc' - ? style.bggreen(` ${letter} `) + ? style.bgyellow(` ${letter} `) : `${style.grey(style.code('['))}${style.orange(style.bold(style.code(letter)))}${style.grey(style.code(']'))}` }.`, context.room.id); @@ -140,7 +140,7 @@ function play(guess, context) { if (wordle.letters.get(letter) === true && letter === wordle.word[index] && letter !== guessLetters[index]) { context.sendMessage(`(Hard) Your guess must include the letter ${config.platform === 'irc' - ? style.bgyellow(` ${letter} `) + ? style.bggreen(` ${letter} `) : `${style.grey(style.code('['))}${style.green(style.bold(style.code(letter)))}${style.grey(style.code(']'))}` } in the correct position.`, context.room.id);