Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>Tic - Tac - Toe</title>
- <link rel="stylesheet" href="style/style.css">
- </head>
- <body>
- <h1>Tic - Tac - Toe</h1>
- <div class="menu">
- <div class="instructions">
- <h2>Instruction</h2>
- <ol>
- <li>Player 1 Create a new game</li>
- <li>Player 2 Enter the room id </li>
- <li>Click on "Join Game"</li>
- </ol>
- <div class="type">
- <h3>Create a new game</h3>
- <input type="text" name="name" id="nameNew" placeholder="Enter your name" required>
- <input type="text" variant="variant" id="varOfGame" placeholder="Enter variant of game" required>
- <button id="new">New Game</button>
- <h3>Join an existing game</h3>
- <input type="text" name="name" id="nameJoin" placeholder="Enter your name" required>
- <input type="text" name="room" id="room" placeholder="Enter Game ID" required>
- <button id="join">Join Game</button>
- </div>
- </div>
- </div>
- <script src="node_modules/jquery/dist/jquery.min.js"></script>
- <script src="/socket.io/socket.io.js"></script>
- <script src='main.js'></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement