-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
46 lines (44 loc) · 2 KB
/
index2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Document</title>
<style>
#one{
width: 350px;
margin: 5px auto;
text-align: center;
font-size: 20px;
font-family: Arial, Helvetica, sans-serif;
}
#two{
float:right;
}
#three{
width:350px;
margin:0 auto;
}
</style>
</head>
<body>
<div id="container">
<header><div id="one">How to play
<a href="#" onclick="history.back()" id="two"><i class="fa fa-times" style="font-size:24px"></i></a></div>
</header>
<div id="three">2048 is a game where you combine numbered tiles in order to gain a higher numbered tile.
In this game you start with two tiles, the lowest possible number available is two. <br>
Then you will play by combining the tiles with the same number to have a tile with the sum of the number on the two tiles.
After, achieving the tile with a 2048 tile,
players can still continue.<br> Some stop there, but others are determined to continue.
The game of 2048 does not include complicated controls.
The controls you’ll be using are just upward, downward, and sideways. <br><br>
The rules are also simple.<br><br>
You just need to move the tiles and every time you move one, another tile pops up in a random manner anywhere in the box.
When two tiles with the same number on them collide with one another as you move them,
they will merge into one tile with the sum of the numbers written on them initially.</div>
</div>
</body>
</html>