Fix duplicate cards bug

This commit is contained in:
Dragon Fire
2020-11-22 11:31:48 -05:00
parent 63192b4960
commit 26af8afbd4
3 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = class Card {
}
get pokersolverKey() {
if (this.value === 'Joker') return null;
if (this.value === 'Joker') return 'Or';
let suitLetter;
switch (this.suit) {
case 'clubs': suitLetter = 'c'; break;