forked from shtange/catch-the-egg
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
63 lines (53 loc) · 1.97 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Catch the Egg | Ну, погоди!</title>
<link rel="stylesheet" href="css/style.css">
<link href='https://fonts.googleapis.com/css?family=Alegreya+Sans+SC' rel='stylesheet' type='text/css'>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
</head>
<body>
<div class="page">
<a href="https://shtange.github.io/catch-the-egg/" class="logo">Catch The Egg</a>
<div id="game-wrap" data-bx="0" data-by="1" data-egg-0="0" data-egg-1="0" data-egg-2="0" data-egg-3="0" data-loss="0">
<div class="basket"></div>
<div class="wolf"></div>
<div class="egg e-0"></div>
<div class="egg e-1"></div>
<div class="egg e-2"></div>
<div class="egg e-3"></div>
<div id="score">
<ul>
<li><span>0</span></li>
<li><span>0</span></li>
<li><span>0</span></li>
<li><span>0</span></li>
</ul>
</div>
<div id="loss"></div>
<div id="message"></div>
<div class="more-info">
<a href="https://github.com/shtange/catch-the-egg" class="source-code">Source code</a>
<div class="how-to-play">How to play</div>
<a href="/catch-the-egg/" class="restart-game">Restart</a>
</div>
<div id="controls">
<a href="#top-left" data-x="0" data-y="1">Q</a>
<a href="#bottom-left" data-x="0" data-y="0">A</a>
<a href="#top-right" data-x="1" data-y="1">E</a>
<a href="#bottom-right" data-x="1" data-y="0">D</a>
</div>
</div>
</div>
<div class="footer">
developed by <a href="https://github.com/shtange">Yurii Shtanhei</a>
</div>
<script src="js/comfy.js"></script>
<script src="js/keyboard_input_manager.js"></script>
<script src="js/game_components.js"></script>
<script src="js/html_redraw.js"></script>
<script src="js/game_manager.js"></script>
<script src="js/app.js"></script>
</body>
</html>