This commit is contained in:
SpudGunMan
2024-09-27 21:14:06 -07:00
parent ff63bb959a
commit 8ab6cded2e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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":