-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
111 lines (110 loc) · 4.44 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
106
107
108
109
110
111
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Skier</title>
<link rel="stylesheet" href="css/styles.css" />
<link
rel="shortcut icon"
href="./css/favicon.ico"
type="image/x-icon"
/>
<style></style>
</head>
<body>
<div class="centered">
<div class="centered">
<div id="panel" class="hid">
<strong>Distance:</strong><span id="dist"></span><br />
<strong>Speed:</strong> 0 m/s<br />
<strong>HP:</strong>
3<br />
</div>
<span id="exite">
<button id="mainPage">Exit</button>
</span>
<div id="gameover" class="centered">
<div id="modal" class="block">
<span style="color: rgb(2, 181, 252)">Your name:</span>
<input type="text" id="IName" />
<input
id="reset"
type="button"
value="Save result"
onclick="storeInfo()"
/>
</div>
<div style="text-align: center; color: rgb(2, 181, 252)">
<big>GAME OVER</big><br />
Press <strong>ENTER</strong> to try again
</div>
</div>
<div id="preMountain">
<div id="buttons">
<input
type="button"
value="start game"
id="startGame"
/>
<input type="button" value="rules" id="rules" />
<div id="myModalrules" class="modalrules">
<div class="modal-contentrules">
<span class="closerules">×</span>
<ul id="ulrules">
<li>
Use <strong>A</strong>,
<strong>S</strong> and
<strong>D</strong> to change directions
</li>
<li>
Press <strong>F</strong> to toggle turbo
</li>
<li>
If you pick up a mushroom
<img src="css/mushroom.png" /> then you
will add HP
</li>
</ul>
</div>
</div>
<input type="button" value="result" id="resGame" />
<div id="myModal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<ul id="ul"></ul>
</div>
</div>
<div id="check">
music<input
id="music"
checked
onchange="mineCraft()"
type="checkbox"
/>
</div>
</div>
<div id="mountain" class="hid">
<div id="skier" />
</div>
</div>
</div>
<ul class="text">
<li>
<a href="https://github.com/Formu1a"
><strong>My GitHub</strong></a
>
</li>
<li>
<a href="https://www.linkedin.com/in/kirill-borisevich/"
><strong>My Linkedin</strong></a
>
</li>
</ul>
</div>
<script src="https://fe.it-academy.by/JQ/jquery.js"></script>
<script src="js/ajax.js"></script>
<script src="js/spa.js"></script>
<script src="js/skifree.js"></script>
<script src="js/modal.js"></script>
</body>
</html>