-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
98 lines (96 loc) · 3.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Pikachu Volleyball - ver.0.0</title>
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<header></header>
<section id="court" class="text-center center-block">
<div id="player1" class="halfcourt">
<div id="p1_score" class="score">0</div>
<img id="pika" class="fectchPosition" src="img/pokeball.png"/>
<img id="p1" class="fetchPosition" src="img/playerLeft.png" />
</div>
<div id="player2" class="halfcourt">
<div id="p2_score" class="score">0</div>
<img id="p2" class="fetchPosition" src="img/playerRight.png" />
</div>
<div id="threshold" style="top:300px,left:200px,width:400px,height:2px,background:red"></div>
<div id="countdown"></div>
</section>
<section id="warning">
<div class="text-center center-block">
<span class="label label-warning"><img src="img/warning.png" style="height:30px">WARNING: PLEASE DO NOT CHANGE THE WINDOW SIZE DURING THE GAME. IT MIGHT BREAK THE GAME</span>
</div>
</section>
<section id="menu" class="text-center">
</section>
<section id="instruction" class="text-center center-block">
<div id="method" style="background:url('img/header.png') no-repeat;margin-left:50px">
<div id="logo">
<img src="img/pikachu.png">
</div>
<div id="keyboard1">
<table>
<tr>
<td></td><td class="userJUMP">W</td><td></td>
</tr>
<tr>
<td class="userLEFT">A</td><td></td><td class="userRIGHT">D</td>
</tr>
</table>
<table id="instr_p1">
<tr >
<td class="userSPIKE">SPACE</td>
</tr>
<tr>
<td class="playerCell">PLAYER 1</td>
</tr>
</table>
</div>
<div id="keyboard2">
<table>
<tr>
<td></td><td class="userJUMP">▲</td><td></td>
</tr>
<tr>
<td class="userLEFT">◄</td><td></td><td class="userRIGHT">►</td>
</tr>
</table>
<table id="instr_p2">
<tr >
<td class="userSPIKE">RETURN</td>
</tr>
<tr>
<td class="playerCell">PLAYER 2</td>
</tr>
</table>
</div>
</div>
<div id="animation">
<img src="img/start.png" id="starterImage">
</div>
<div>
<button id="start" class="gameBtn" type="button">START THE GAME</button>
</div>
</section>
<section id="gameOver" class="text-center center-block">
<div>
<img src="img/gameover.png"><br/><br/>
<button class="gameBtn" id="restart">RESTART</button>
</div>
</section>
<div id="userGuide">
<span></span>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/jBeep.min.js"></script>
<script src="js/app.js"></script>
<script src="js/game.js"></script>
<script src="js/ball.js"></script>
<script src="js/player.js"></script>
</body>
</html>