From 5062ba17cb60d0377e75b8b4cb0ba97eb786b24c Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 11 May 2020 09:33:58 -0400 Subject: [PATCH] Beep --- .gitignore | 1 + structures/cards/Card.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 7337ecfb..15b81f0e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ logs/ *.log .env report*.json +commands/games-mp/poker.js diff --git a/structures/cards/Card.js b/structures/cards/Card.js index 836ae749..6906a818 100644 --- a/structures/cards/Card.js +++ b/structures/cards/Card.js @@ -1,3 +1,4 @@ +const { firstUpperCase } = require('../../util/Util'); const displaySuits = { spades: '♠', diamonds: '♦', @@ -23,6 +24,10 @@ module.exports = class Card { return `${displaySuits[this.suit]} ${this.value}`; } + get textDisplay() { + return `${this.value} of ${firstUpperCase(this.suit)}`; + } + get pokersolverKey() { if (this.value === 'Joker') return null; let suitLetter;