Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,6 +57,10 @@ st.header("Python - Tic Tac Toe")
|
|
| 57 |
user_input=get_userInput()
|
| 58 |
display_board(True)
|
| 59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
#Button functionality
|
| 61 |
if submit:
|
| 62 |
st.subheader("")
|
|
@@ -68,10 +72,6 @@ else:
|
|
| 68 |
if replay:
|
| 69 |
display_board(True)
|
| 70 |
reset_legalNumbers()
|
| 71 |
-
|
| 72 |
-
#UI Buttons
|
| 73 |
-
submit=st.button('Submit')
|
| 74 |
-
replay=st.button('Replay')
|
| 75 |
|
| 76 |
#After User Interaction
|
| 77 |
response=validate_userInput(user_input)
|
|
|
|
| 57 |
user_input=get_userInput()
|
| 58 |
display_board(True)
|
| 59 |
|
| 60 |
+
#UI Buttons
|
| 61 |
+
submit=st.button('Submit')
|
| 62 |
+
replay=st.button('Replay')
|
| 63 |
+
|
| 64 |
#Button functionality
|
| 65 |
if submit:
|
| 66 |
st.subheader("")
|
|
|
|
| 72 |
if replay:
|
| 73 |
display_board(True)
|
| 74 |
reset_legalNumbers()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
|
| 76 |
#After User Interaction
|
| 77 |
response=validate_userInput(user_input)
|