forefeit -> forfeit

This commit is contained in:
Dragon Fire
2021-01-30 23:48:52 -05:00
parent c96e4f5856
commit fbe901a249
9 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ module.exports = class ConnectFourCommand extends Command {
} else {
const emoji = userTurn ? playerOneEmoji : playerTwoEmoji;
await msg.say(stripIndents`
${emoji} ${user}, which column do you pick? Type \`end\` to forefeit.
${emoji} ${user}, which column do you pick? Type \`end\` to forfeit.
Can't think of a move? Use \`play for me\`.
${opponent.bot ? `I placed mine in **${lastMove}**.` : `Previous Move: **${lastMove}**`}
+1 -1
View File
@@ -73,7 +73,7 @@ module.exports = class CramCommand extends Command {
while (!winner) {
const user = userTurn ? msg.author : opponent;
await msg.say(stripIndents`
${user}, at what coordinates do you want to place your block? Type \`end\` to forefeit.
${user}, at what coordinates do you want to place your block? Type \`end\` to forfeit.
You must also choose a direction. (ex. v1,1 or h3,4).
${this.displayBoard(board, userEmoji, oppoEmoji)}
+1 -1
View File
@@ -73,7 +73,7 @@ module.exports = class DomineeringCommand extends Command {
while (!winner) {
const user = userTurn ? msg.author : opponent;
await msg.say(stripIndents`
${user}, at what coordinates do you want to place your block (ex. 1,1)? Type \`end\` to forefeit.
${user}, at what coordinates do you want to place your block (ex. 1,1)? Type \`end\` to forfeit.
Your pieces are **${userTurn ? 'vertical' : 'horizontal'}**.
${this.displayBoard(board, userEmoji, oppoEmoji)}
+1 -1
View File
@@ -45,7 +45,7 @@ module.exports = class DotsAndBoxesCommand extends Command {
while (taken.length < 40) {
const user = userTurn ? msg.author : opponent;
await msg.say(stripIndents`
${user}, which connection do you pick? Type \`end\` to forefeit.
${user}, which connection do you pick? Type \`end\` to forfeit.
_Format like \`1-2\` or \`0-5\`. Any two spaces bordering **vertical or horizontal**._
P1: ${msg.author.tag} | P2: ${opponent.tag}
+1 -1
View File
@@ -53,7 +53,7 @@ module.exports = class JengaCommand extends Command {
i = Math.floor(Math.random() * board.length);
} else {
const text = stripIndents`
${user}, which block do you want to remove? Type \`end\` to forefeit.
${user}, which block do you want to remove? Type \`end\` to forfeit.
Each block you go lower on the tower, the more likely the tower falls.
`;
await msg.say(`${text}\n\n${this.displayBoard(board)}`);
+2 -2
View File
@@ -56,7 +56,7 @@ module.exports = class NimCommand extends Command {
await msg.say(`For my turn, I remove **${turn[1]}** ${objectEmoji} from **row ${turn[0] + 1}**.`);
} else {
await msg.say(stripIndents`
${user}, from which row do you want to remove from? Type \`end\` to forefeit.
${user}, from which row do you want to remove from? Type \`end\` to forfeit.
After this step, you will decide how many ${objectEmoji} to remove from that row.
${this.displayBoard(board, objectEmoji)}
@@ -97,7 +97,7 @@ module.exports = class NimCommand extends Command {
rowPicked = 1;
} else {
await msg.say(stripIndents`
${user}, how many ${objectEmoji} do you want to take from row ${picked}? Type \`end\` to forefeit.
${user}, how many ${objectEmoji} do you want to take from row ${picked}? Type \`end\` to forfeit.
If you want to go back, type \`back\`.
${nums[picked - 1]}${objectEmoji.repeat(row)}
+1 -1
View File
@@ -55,7 +55,7 @@ module.exports = class ObstructionCommand extends Command {
while (!winner) {
const user = userTurn ? msg.author : opponent;
await msg.say(stripIndents`
${user}, at what coordinates do you want to place your piece (ex. 1,1)? Type \`end\` to forefeit.
${user}, at what coordinates do you want to place your piece (ex. 1,1)? Type \`end\` to forfeit.
Every piece you place will obstruct the 8 pieces around it.
${this.displayBoard(board)}
+1 -1
View File
@@ -49,7 +49,7 @@ module.exports = class TicTacToeCommand extends Command {
choice = tictactoe.bestMove(this.convertBoard(sides), { computer: 'o', opponent: 'x' });
} else {
await msg.say(stripIndents`
${user}, which side do you pick? Type \`end\` to forefeit.
${user}, which side do you pick? Type \`end\` to forfeit.
${this.displayBoard(sides)}
`);
+1 -1
View File
@@ -44,7 +44,7 @@ module.exports = class MinesweeperCommand extends Command {
while (win === null) {
const currentTime = moment.duration(new Date() - startTime).format('mm:ss');
await msg.say(stripIndents`
${msg.author}, what coordinates do you pick (ex. 4,5)? Type \`end\` to forefeit.
${msg.author}, what coordinates do you pick (ex. 4,5)? Type \`end\` to forfeit.
Type \`flag <coordinates>\` to flag a spot as a bomb. To remove a flag, run it again.
${this.displayBoard(game.board, game.mask, flagged, cheatMode)}