-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (35 loc) · 1.61 KB
/
index.html
File metadata and controls
38 lines (35 loc) · 1.61 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/2048.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Free no ads 2048 Game</title>
<meta name="theme-color" content="#202938" />
</head>
<body class="overflow-hidden overscroll-none">
<div id="root"></div>
<div id="help-content" class="hidden">
<div class="[&_p,&_h2]:my-2 [&_a]:underline">
<h1 class="merriweather text-center mb-1 text-2xl">2048 Game</h1>
<p>This is a classic 2048 game that is free and with no ads.</p>
<h2 class="font-bold">How to Play:</h2>
<ul class="list-disc ml-4">
<li>Use your arrow keys (or swipe on mobile) to move the tiles.</li>
<li>When two tiles with the same number touch, they merge into one!</li>
<li>The goal is to reach the 2048 tile.</li>
<li>Keep merging tiles to get higher numbers like 4, 8, 16, 32, 64, 128, 256, 512, 1024, and finally 2048.
</li>
<li>The game ends when the board is full and there are no more possible moves.</li>
</ul>
<p>Good luck and have fun!</p>
<p>
This game is almost entirely vibe-coded in <a href="https://codeassist.google/" target="_blank">Gemini Code</a>.
If you find any issues, feel free to <a href="https://github.com/ivanbrykov/2048/issues" target="_blank">report them</a>.
</p>
</div>
</div>
<script type="module" src="/src/main.tsx"></script>
<script defer src="https://cloud.umami.is/script.js" data-website-id="57a29fb2-462e-4f96-97f4-fbf1d3140732"></script>
</body>
</html>