Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,6 +26,17 @@ def determine_winner(player_move, computer_move):
|
|
26 |
return "You lose!"
|
27 |
|
28 |
# Streamlit app
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
st.title("Rock, Paper, Scissors")
|
30 |
|
31 |
st.write("Choose your move:")
|
@@ -34,7 +45,7 @@ st.write("Choose your move:")
|
|
34 |
col1, col2, col3 = st.columns(3)
|
35 |
|
36 |
with col1:
|
37 |
-
if st.button(
|
38 |
player_move = "Rock"
|
39 |
with col2:
|
40 |
if st.button("β"):
|
|
|
26 |
return "You lose!"
|
27 |
|
28 |
# Streamlit app
|
29 |
+
|
30 |
+
st.markdown("""
|
31 |
+
<style>
|
32 |
+
button {
|
33 |
+
padding-top: 50px !important;
|
34 |
+
padding-bottom: 50px !important;
|
35 |
+
height: 4rem;
|
36 |
+
width: 4rem;
|
37 |
+
}
|
38 |
+
</style>
|
39 |
+
""", unsafe_allow_html=True)
|
40 |
st.title("Rock, Paper, Scissors")
|
41 |
|
42 |
st.write("Choose your move:")
|
|
|
45 |
col1, col2, col3 = st.columns(3)
|
46 |
|
47 |
with col1:
|
48 |
+
if st.button("β"):
|
49 |
player_move = "Rock"
|
50 |
with col2:
|
51 |
if st.button("β"):
|