pratikshahp commited on
Commit
5bb6b79
·
verified ·
1 Parent(s): 3795c88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -7
app.py CHANGED
@@ -147,13 +147,18 @@ css = """
147
  """
148
 
149
  with gr.Blocks(css=css) as tic_tac_toe:
150
- gr.Markdown(
151
- """
152
- <div style="text-align: center; margin: 20px 0; font-size: 3.5em; font-weight: bold; color: blue;">
153
- Tic-Tac-Toe with AI 🎮
154
- </div>
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