-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (34 loc) · 1.72 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
38
39
<!DOCTYPE html>
<html>
<head>
<title>squid type</title>
<script defer src="out.js"></script>
<link rel="stylesheet" href="main.css">
</head>
<body>
<div id = "trafficlight">
</div>
<span class="menu">
<span id="host">
<input type="text" disabled id="roomid" placeholder="Room ID">
<button id="hostButton">Host</button>
</span>
<br>
<span id="join">
<input id="joinid" type="text" placeholder="Room ID">
<button id="joinButton">Join</button>
</span>
<br>
<button id="start" class="completely-hidden">Start</button>
</span>
<p id="typer"><span class="untyped">Welcome to Squid Type! To get started, click the "host" button to host a lobby or the "join" button, along with the host's code, to join another person's lobby. <br>
The objective of this game is to type all of the displayed words faster than your opponent. Be careful of the traffic light, though... <br><br>
When the light is <span class = "glowgreen">green</span>, you're free to type. Go as fast as you can for the finish line! <br>
When the light is <span class = "glowyellow">yellow</span>, you can keep typing, but be ready to stop before the light changes again. <br>
When the light is <span class = "glowred">red</span>, STOP typing. If you type when the light is red, you're out!
</span></p>
<p id="status"></p>
<div id = "bars">
</div>
</body>
</html>