-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
103 lines (102 loc) · 3.04 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
<!doctype html>
<head>
<meta charset="utf-8">
<title>Jimbo</title>
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta name='viewport' content='width=device-width initial-scale=1.0'>
<link href='/favicon.ico' rel='shortcut icon'>
<link href="/css/style.css" rel="stylesheet">
<script src="/js/paper.js"></script>
<script src="/js/jquery.js"></script>
<script src="/socket.io/socket.io.js"></script>
<script type="text/paperscript" src="/js/client.js" data-paper-canvas="canvas" data-paper-keepalive="true"></script>
</head>
<html>
<body>
<header>
<h1>Jimbo Jet</h1>
</header>
<div class="container">
<div id="modal">
<div class="wrapper">
</div>
<div class="bgColor"></div>
</div>
<canvas id="canvas" width="809" height="500"> </canvas>
</div>
<div class="stuff">
<div id="waitingScreen">
<div class="waiting">Connecting...</div>
</div>
<div id="welcomeScreen"><form id="nickForm">
<h2>Welcome</h2>
<p>Welcome to Jimbo Jet! Please choose a nickname:</p>
<input id="nickname" type="text" autofocus/>
<br/>
<br/>
<h2>How to play</h2>
<p>Use Up,Down,Left,Right arrows to move your jimbo, SPACE to fire!</p>
<p>Gain more scores by attacking other players.</p>
<p>Reach the end with as much scores as you can!</p>
<center><input class="startBtn" type="submit" value="Start!"/></center>
</form>
</div>
<div id="endScreen">
<form id="endForm">
<h2>Mission Complete</h2>
<h3>$nickname$,</h3>
<p>You successfully completed the mission.</p>
<h3>Achivments</h3>
<div class="column">
<div class="title">Rank</div>
<div>$rank$</div>
</div>
<div class="column">
<div class="title">Score</div>
<div>$score$</div>
</div>
<div>
<div class="title">Time</div>
<div>$time$</div>
</div>
<div class="clearfix"></div>
<h3>Top Scores</h3>
<div class="scoreCol index">
<div class="title">Rank</div>
</div>
<div class="scoreCol">
<div class="title">Aeronaut</div>
</div>
<div class="scoreCol">
<div class="title">Score</div>
</div>
<div class="clearfix"></div>
$topscores$
<p>Are you ready for another mission?</p>
<center><input class="startBtn" type="submit" value="Let's Go" autofocus/></center>
</form>
</div>
<div id="gameoverScreen">
<form id="endForm">
<h2>Gameover</h2>
<h3>$nickname$,</h3>
<p>You faild to complete the mission.</p>
<h3>Top Scores</h3>
<div class="scoreCol index">
<div class="title">Rank</div>
</div>
<div class="scoreCol">
<div class="title">Aeronaut</div>
</div>
<div class="scoreCol">
<div class="title">Score</div>
</div>
<div class="clearfix"></div>
$topscores$
<p>Are you ready for another mission?</p>
<center><input class="startBtn" type="submit" value="Yes" autofocus/></center>
</form>
</div>
</div>
</body>
</html>