-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (83 loc) · 3.5 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="utf-8">
<title>Tony Luisi</title>
<meta name="description" content="Tony's github website">
<meta name="author" content="Tony Luisi">
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- FONT
––––––––––––––––––––––––––––––––––––––––––––––––––
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css"> -->
<!-- CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.css">
<link rel="stylesheet" href="styles/main.css">
<script type="text/javascript" src="racer.js"></script>
<!-- Favicon
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="icon" type="image/png" href="images/favicon.png">
</head>
<body>
<!-- Primary Page Layout
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div class "container" name = "main">
<div class="container" id="header">
<br><br><br><br><br>
</div>
<div class="container" name="configuration">
<form name="parameters">
<div class="row">
<div class="four columns">
<label for="length">Track Length:</label>
<input type="text" name="length" onblur="update()">
</div>
<div class="four columns">
<label for="players">No of Players:</label>
<input type="text" name="players" onblur="update()">
</div>
<div class="four columns">
<br>
<input type="checkbox" id="CPU" value="yes"> CPU players other than Player 1? (Easy Level Only) <br>
</div>
</div>
</form>
</div>
<div class="container" name="track">
<div class="row" id="start_button">
<div class="twelve columns">
<button class="button-primary" onclick="go()">START</button>
</div>
</div>
<div class="row">
<div class="twelve columns">
<table id="racer_table">
</table>
</div>
</div>
</div>
<div class="container" name="results">
<h1 id="display">Press Start When Ready</h1>
</div>
<div class="container" id="instructions">
<h2>Instructions</h2>
<ol>
<li>Select track length and number of players.</li>
<li>Check whether you want to player against the CPU.</li>
<li>Key press is the number player (i.e. Player 1 is the 1 key).</li>
<li>Press Start and Enjoy!</li>
</ol>
</div>
</div>
<script>
setup();
</script>
<!-- End Document
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
</body>
</html>