Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -147,13 +147,18 @@ css = """
|
|
147 |
"""
|
148 |
|
149 |
with gr.Blocks(css=css) as tic_tac_toe:
|
150 |
-
gr.
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
|
|
|
|
|
|
|
|
|
|
157 |
game_status = gr.Markdown(value="<div style='font-size: 1.5em; color: green; font-weight: bold;'>Player 1's turn (X)</div>")
|
158 |
difficulty = gr.Radio(["Easy", "Medium", "Hard"], value="Medium", label="Select Difficulty Level")
|
159 |
|
|
|
147 |
"""
|
148 |
|
149 |
with gr.Blocks(css=css) as tic_tac_toe:
|
150 |
+
with gr.Row():
|
151 |
+
gr.HTML(
|
152 |
+
"""
|
153 |
+
<div style="text-align: center; margin: auto;">
|
154 |
+
<h1 style="color: #1155ff; font-size: 3.5em; font-weight: bold; font-family: 'Arial', sans-serif; margin-bottom: 0.5em;"> Tic-Tac-Toe with AI 🎮</h1>
|
155 |
+
<p style="font-size: 1.5em; color: #555555; font-weight: lighter; font-family: 'Verdana', sans-serif;">
|
156 |
+
Let's Play!
|
157 |
+
</p>
|
158 |
+
</div>
|
159 |
+
"""
|
160 |
+
)
|
161 |
+
|
162 |
game_status = gr.Markdown(value="<div style='font-size: 1.5em; color: green; font-weight: bold;'>Player 1's turn (X)</div>")
|
163 |
difficulty = gr.Radio(["Easy", "Medium", "Hard"], value="Medium", label="Select Difficulty Level")
|
164 |
|