This commit is contained in:
Daniel Odendahl Jr
2018-09-17 16:43:09 +00:00
parent 518ba68e32
commit 32cfab9709
+3 -3
View File
@@ -76,13 +76,13 @@ module.exports = class BlackjackCommand extends Command {
} else if (total >= 17) {
const playerTotal = this.calculate(playerHand);
if (total === playerTotal) {
reason = `${playerTotal}-${total}`;
reason = `Dealer drew ${card.display}, making it ${playerTotal}-${total}`;
break;
} else if (total > playerTotal) {
reason = `${playerTotal}-**${total}**`;
reason = `Dealer drew ${card.display}, making it ${playerTotal}-**${total}**`;
break;
} else {
reason = `**${playerTotal}**-${total}`;
reason = `Dealer drew ${card.display}, making it **${playerTotal}**-${total}`;
win = true;
}
} else {