Spaces:
Runtime error
Runtime error
Commit
·
82e6d45
1
Parent(s):
d0a1189
✨ Fix formatting in Slots game messages for improved readability.
Browse files
app.py
CHANGED
|
@@ -227,17 +227,17 @@ def Casino(Game: Literal['Roulette', 'Slots'], Input: None | Literal['Red', 'Bla
|
|
| 227 |
|
| 228 |
if Count == 3:
|
| 229 |
if Symbol == '⭐':
|
| 230 |
-
return f'You played Slots and hit the jackpot! 🎰 You spun [{
|
| 231 |
elif Symbol == '🔔':
|
| 232 |
-
return f'You played Slots and won! 🎉 You spun [{
|
| 233 |
elif Symbol == '🍒':
|
| 234 |
-
return f'You played Slots and won! 🎉 You spun [{
|
| 235 |
else:
|
| 236 |
-
return f'You played Slots and won! 🎉 You spun [{
|
| 237 |
elif Count == 2:
|
| 238 |
-
return f'You played Slots and got a pair! 🎰 You spun [{
|
| 239 |
else:
|
| 240 |
-
return f'You played Slots and lost! 😢 You spun [{
|
| 241 |
|
| 242 |
# ╭─────────────────────────────╮
|
| 243 |
# │ Text Processing Tools │
|
|
|
|
| 227 |
|
| 228 |
if Count == 3:
|
| 229 |
if Symbol == '⭐':
|
| 230 |
+
return f'You played Slots and hit the jackpot! 🎰 You spun [{" | ".join(SpinResult)}] and won €{Bet * 50}!'
|
| 231 |
elif Symbol == '🔔':
|
| 232 |
+
return f'You played Slots and won! 🎉 You spun [{" | ".join(SpinResult)}] and won €{Bet * 25}!'
|
| 233 |
elif Symbol == '🍒':
|
| 234 |
+
return f'You played Slots and won! 🎉 You spun [{" | ".join(SpinResult)}] and won €{Bet * 10}!'
|
| 235 |
else:
|
| 236 |
+
return f'You played Slots and won! 🎉 You spun [{" | ".join(SpinResult)}] and won €{Bet * 5}!'
|
| 237 |
elif Count == 2:
|
| 238 |
+
return f'You played Slots and got a pair! 🎰 You spun [{" | ".join(SpinResult)}] and won €{Bet * 1.5}!'
|
| 239 |
else:
|
| 240 |
+
return f'You played Slots and lost! 😢 You spun [{" | ".join(SpinResult)}] and won nothing.'
|
| 241 |
|
| 242 |
# ╭─────────────────────────────╮
|
| 243 |
# │ Text Processing Tools │
|