-
Notifications
You must be signed in to change notification settings - Fork 1
/
game.html
38 lines (38 loc) · 1.16 KB
/
game.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
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>Game</title>
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Ubuntu Mono'>
<link rel="stylesheet" href="css/game.css">
</head>
<body>
<div id="answer">
<div id="ask">
<h1 id="question">Question</h1>
</div>
<div id="container">
<button id="a" class="button" onclick="send('a');">A</button>
<button id="b" class="button" onclick="send('b');">B</button>
<button id="c" class="button" onclick="send('c');">C</button>
<button id="d" class="button" onclick="send('d');">D</button>
</div>
<div id="username">
<textarea id="usernametext" name="usernametext" rows="1" cols="16" placeholder="Username">
</textarea>
</div>
</div>
<script>
var questiontoask = "QUESTION";
var AA = "ANSWERFORA";
var BB = "ANSWERFORB";
var CC = "ANSWERFORC";
var DD = "ANSWERFORD";
</script>
<script src="js/game.js"></script>
<form id="form" action="receive.html" method="POST">
<input type="text" id="player" name="player" value="Nobody">
<input type="text" id="ans" name="ans" value="VOID">
<input type="text" id="t" name="t" value="VOID">
</form>
</body>
</html>