Sergidev commited on
Commit
c6626c3
·
verified ·
1 Parent(s): ce1dd56

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +18 -31
templates/index.html CHANGED
@@ -1,33 +1,20 @@
1
- <!doctype html>
2
  <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>1v1 Hangman</title>
7
- <link
8
- rel="stylesheet"
9
- href="{{ url_for('static', filename='css/style.css') }}"
10
- />
11
- </head>
12
- <body>
13
- <div class="container">
14
- <h1>1v1 Hangman</h1>
15
- <button id="playButton">Play</button>
16
- <div id="sessionInfo" style="display: none">
17
- <p>Session ID: <span id="sessionId"></span></p>
18
- <p>
19
- Share this Session ID with your opponent to join the game.
20
- </p>
21
- </div>
22
- <div id="joinGame" style="display: none">
23
- <input
24
- type="text"
25
- id="joinSessionId"
26
- placeholder="Enter Session ID"
27
- />
28
- <button id="joinButton">Join Game</button>
29
- </div>
30
  </div>
31
- <script src="{{ url_for('static', filename='js/game.js') }}"></script>
32
- </body>
33
- </html>
 
 
1
+ <!DOCTYPE html>
2
  <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>1v1 Hangman</title>
7
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
8
+ </head>
9
+ <body>
10
+ <div class="container">
11
+ <h1>1v1 Hangman</h1>
12
+ <button id="playButton">Play</button>
13
+ <div id="sessionInfo" style="display: none;">
14
+ <p>Session ID: <span id="sessionId"></span></p>
15
+ <p id="waitingMessage">Waiting for player 2...</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  </div>
17
+ </div>
18
+ <script src="{{ url_for('static', filename='js/game.js') }}"></script>
19
+ </body>
20
+ </html>