forked from gabrielecirulli/2048
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
118 lines (109 loc) · 4.66 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
112
113
114
115
116
117
118
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>1434</title>
<link href="style/main.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="favicon.ico">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0, maximum-scale=1, user-scalable=no, minimal-ui">
</head>
<body>
</script>
<div class="container">
<div class="heading">
<h1 class="title">1434</h1>
<div class="scores-container">
<div class="score-container">0</div>
<div class="best-container">0</div>
</div>
</div>
<div class="above-game">
<p style="color: #b3ffff"> This is a <strong>fork</strong> of gabrielecirulli's 2048 with new colors,
new numbers, more modes, and more options!
<br>
<a href="https://denialriver1434.github.io/1434/Explanation">Why 1434?</a>
<br>
<strong>Please star <a href="https://github.com/DenialRiver8810/1434">this</a>
and the <a href="https://github.com/gabrielecirulli/2048">original</a> on GitHub!</strong></p>
</div>
<div class="game-container">
<div class="game-message">
<p></p>
<div class="lower">
<a class="keep-playing-button">Continue losing the game?</a>
<a class="retry-button">Lose the game again?</a>
</div>
</div>
<div class="grid-container">
<div class="grid-row">
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
</div>
<div class="grid-row">
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
</div>
<div class="grid-row">
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
</div>
<div class="grid-row">
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
<div class="grid-cell"></div>
</div>
</div>
<div class="tile-container">
</div>
</div>
<input class="allow0" type="checkbox" id="allow0">
<label class="allow0" for="allow0"> Zero Mode</label>
<a class="hidenum">Show/Hide Numbers</a>
<a class="restart-button">Restart</a>
<p class="game-explanation">
<strong class="important">How to play:</strong> Use your <strong>arrow keys</strong>
to move the tiles. When two tiles with the same number touch, they <strong>merge into one!
</strong>
<strong class="important">Scoring:</strong> When two <strong>0s</strong> merge, you earn
<strong>1434</strong> points, when two positive integers merge, you earn <strong>2-3 times their sum</strong>.
</p>
<hr>
<p>
<strong class="important">Note from original creator:</strong> This site is not the official version of 1434.
You can play it on your phone via <a href="http://git.io/2048">http://git.io/2048.</a>
All other apps or sites, like the one that you are on, are derivatives and fakes, and should be used with caution.
<br>
<strong class="important">Note from me:</strong> I have never coded in html and javascript before prior to this. When making
to project, I was trying my best to edit somebody else's code that I cannot read. As a result, there might be some rare bugs.
</p>
<hr>
<p>
1434 is created by <a href="https://github.com/S-D-Ge/" target="_blank">S-D-Ge</a>, the majority of the code
(excl. color, zero mode, numberless mode), as well as the original game, was created by
<a href="http://gabrielecirulli.com" target="_blank">Gabriele Cirulli.</a> Based on
<a href="https://itunes.apple.com/us/app/1024!/id823499224" target="_blank">1024 by Veewo Studio</a> and
conceptually similar to <a href="http://asherv.com/threes/" target="_blank">Threes by Asher Vollmer.</a>
</p>
<a class="best-reset-button">RESET BEST SCORE</a>
</div>
<script src="js/bind_polyfill.js"></script>
<script src="js/classlist_polyfill.js"></script>
<script src="js/animframe_polyfill.js"></script>
<script src="js/keyboard_input_manager.js"></script>
<script src="js/html_actuator.js"></script>
<script src="js/grid.js"></script>
<script src="js/tile.js"></script>
<script src="js/local_storage_manager.js"></script>
<script src="js/game_manager.js"></script>
<script src="js/application.js"></script>
</body>
</html>