-
Notifications
You must be signed in to change notification settings - Fork 0
/
howto.html
138 lines (131 loc) · 5.13 KB
/
howto.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html5>
<html>
<head>
<title>Rules of the Snake Game</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" type="text/CSS" href="stylesheets/style.css">
<script src="https://kit.fontawesome.com/843e13ba28.js" crossorigin="anonymous"></script>
<link rel="icon" href="img/head.png" type="img/icon">
<style>
@media screen and (max-width : 1060px) and (min-width : 800px){
html{
font-size: 12px;
line-height: 18px;
}}
@media screen and (max-width : 800px) and (min-width : 600px){
html{
font-size: 12px;
line-height: 14px;
}}
@media screen and (max-width : 600px){
html{
font-size: 10px;
line-height: 12px;
}}
@media screen and (min-width : 1060px){
html{
font-size: 15px;
line-height: 20px;
}
}
body{
overflow-x:hidden;
overflow-y: scroll;
background-size: 100% 100%,cover;
}
#header{
display: block;
font-size: 4rem;
color: rgb(11, 46, 87);
text-align: center;
line-height: 5rem;
background-color: rgba(255, 255, 255, 0.774);
margin: 10px;
border-radius: 10px;
}
.spread{
padding-left: 30px;
font-size: 2rem;
letter-spacing: 8px;
line-height: 3rem;
}
ul.rules{
background-color: rgba(255, 255, 255, 0.596);
border-radius: 10px;
color: rgb(5, 42, 59);
font-size: 1.5rem;
line-height: 2rem;
margin: 10px;
padding: 10;
list-style-position: inside;
list-style-type: none;
text-align: justify;
}
dt{
color: rgb(17, 85, 65);
font-size: 120%;
line-height: 4rem;
font-weight: 900;
}
dd{
padding: 0 10px;
}
.gameover{
font-weight: 900;
text-decoration: underline;
}
</style>
</head>
<body>
<div id="header">
<a style="display: block ; float: left; margin-left: 30px; margin-top: 10px;" href="index.html"><i
class="far fa-arrow-alt-circle-left"></i></a>
How to Play?<br>
<span class="spread">Rule Sets</span>
</div>
<ul class="rules">
<li>The Snake is hungry and you have to feed it.The ultimate aim is to Collect the food which inturns grow the sanke and increase the score.</li>
<li>You can move the snake using the
<ul>
<li>KeyBoard Controls</li>
<li>Onscreen Joypad Controls</li>
<li>Swipe Controls</li>
</ul>
</li><hr>
<li>It has Three Modes :
<dl>
<dt>Classic</dt>
<dd>
In this mode there will be no maze or outside constraints.
For example, if you go right you will come from left.<br/>
<span class="gameover">Game over Rules:</span><br />
There is only one condition that leads to the end of the game: <br />The sanke collides itself.
</dd><hr>
<dt>Modern</dt>
<dd>
This has five levels namely: Box, Tunnel, Garden, Apartment. Each of it has its own preset Maze.<br />
<span class="gameover">Game over Rules:</span><br />
<ol>
<li>The snake collides itself.</li>
<li>The sanke collides the maze.</li>
</ol>
</dd><hr>
<dt>Campaign</dt>
<dd>
This is the mode which connects all the Modern modes.There will be a target for each level in the Campaign mode. If you reach the target you will be upgraded to the next
level.<br />
<span class="gameover">Game over Rules:</span><br />
<ol>
<li>The snake collides itself.</li>
<li>The sanke collides the maze.</li>
</ol>
<dt>Safepoint</dt>
<dd>There will be a safepoint score for each level in the Campaign mode. If you reach that and you encounter a collision you will not be sent to the first level.
Or else the game will begin from the first level.</dd>
</dd>
</dl>
</li>
</ul>
</body>
</html>