Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ st.title("Dice Rolling Game")
|
|
30 |
|
31 |
# Get username and number of rolls
|
32 |
username = st.text_input("Enter your username:")
|
33 |
-
num_rolls = st.slider("Choose the number of rolls:", 1,
|
34 |
|
35 |
# Roll dice for each type and accumulate high rolls and tokens
|
36 |
history = {"health_tokens": [0], "coin_tokens": [0]}
|
|
|
30 |
|
31 |
# Get username and number of rolls
|
32 |
username = st.text_input("Enter your username:")
|
33 |
+
num_rolls = st.slider("Choose the number of rolls:", 1, 100, DEFAULT_ROLLS)
|
34 |
|
35 |
# Roll dice for each type and accumulate high rolls and tokens
|
36 |
history = {"health_tokens": [0], "coin_tokens": [0]}
|