From 8ab6cded2e548423399fd22172f6fec423a58f94 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 27 Sep 2024 21:14:06 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mesh_bot.py | 2 +- modules/blackjack.py | 2 +- modules/videopoker.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mesh_bot.py b/mesh_bot.py index a2ac38e..5faef8d 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -372,7 +372,7 @@ def handleBlackJack(nodeID, message): highScore = loadHSJack() if highScore != 0: if highScore['nodeID'] != 0: - msg += f" HighScore🥇:{get_name_from_number(highScore['nodeID'])} with {highScore['highScore']} chips. " + msg += f" HighScore🥇{get_name_from_number(highScore['nodeID'])} with {highScore['highScore']} chips. " time.sleep(1) return msg diff --git a/modules/blackjack.py b/modules/blackjack.py index f563662..0327e57 100644 --- a/modules/blackjack.py +++ b/modules/blackjack.py @@ -271,7 +271,7 @@ def playBlackJack(nodeID, message): logger.debug(f"System: BlackJack: New Player {nodeID}") jackTracker.append({'nodeID': nodeID, 'cmd': 'new', 'time': time.time(), 'cash': jack_starting_cash,\ 'bet': 0, 'gameStats': {'p_win': p_win, 'd_win': d_win, 'draw': draw}, 'p_cards':p_cards, 'd_cards':d_cards, 'p_hand':p_hand.cards, 'd_hand':d_hand.cards, 'next_card':next_card}) - return f"Welcome to BlackJack!♠️♥️♣️♦️ you have {p_chips.total} chips. Whats your bet?" + return f"Welcome to ♠️♥️BlackJack♣️♦️ you have {p_chips.total} chips. Whats your bet?" if getLastCmdJack(nodeID) == "new": # Place Bet diff --git a/modules/videopoker.py b/modules/videopoker.py index ecc914f..174189c 100644 --- a/modules/videopoker.py +++ b/modules/videopoker.py @@ -305,7 +305,7 @@ def playVideoPoker(nodeID, message): # create new player if not in tracker logger.debug(f"System: VideoPoker: New Player {nodeID}") vpTracker.append({'nodeID': nodeID, 'cmd': 'new', 'time': time.time(), 'cash': vpStartingCash, 'player': None, 'deck': None, 'highScore': 0, 'drawCount': 0}) - return f"Welcome to 🎰VideoPoker! you have {vpStartingCash} coins, Whats your bet?" + return f"Welcome to 🎰VideoPoker♥️ you have {vpStartingCash} coins, Whats your bet?" # Gather the player's bet if getLastCmdVp(nodeID) == "new" or getLastCmdVp(nodeID) == "gameOver":