1v1hangman / templates /index.html
Sergidev's picture
Add files v1
7ef7190 verified
raw
history blame
1.12 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>1v1 Hangman</title>
<link
rel="stylesheet"
href="{{ url_for('static', filename='css/style.css') }}"
/>
</head>
<body>
<div class="container">
<h1>1v1 Hangman</h1>
<button id="playButton">Play</button>
<div id="sessionInfo" style="display: none">
<p>Session ID: <span id="sessionId"></span></p>
<p>
Share this Session ID with your opponent to join the game.
</p>
</div>
<div id="joinGame" style="display: none">
<input
type="text"
id="joinSessionId"
placeholder="Enter Session ID"
/>
<button id="joinButton">Join Game</button>
</div>
</div>
<script src="{{ url_for('static', filename='js/game.js') }}"></script>
</body>
</html>