-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (37 loc) · 1.13 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<head>
<title>Multiplayer Maze</title>
<script src="/game.js"></script>
<link rel="stylesheet" type="text/css" href="/style.css">
</head>
<section id="chatSection" class="hidden">
<label>Enter your nickname: <input type="text" id="userNick"/></label>
<button id="nickButton">Update your nickname</button>
<div id="chatArea"></div>
<input type="text" id="chatMessage"><button id="chatButton">Send Message</button>
<section id="users">
<h1>Users</h1>
<ul id="userList" class="menu"></ul>
</section>
</section>
<section id="hub">
<section id="freeRooms">
<h2>Open Rooms</h2>
<ul id="roomList" class="menu"></ul>
</section>
<section id="createRoom">
<label>Room Name: <input type="text" id="roomNameText" /></label>
<button id="createRoomButton">Create Room</button>
</section>
</section>
<section id="room" class="hidden">
<section id="gameStatusPanel">
<div id="eventLog"></div>
<p id="gamePosition"></p>
</section>
<section id="game">
<button id="north">Attempt North</button>
<button id="south">Attempt South</button>
<button id="west">Attempt West</button>
<button id="east">Attempt East</button>
</section>
</section>