26 lines
808 B
HTML
26 lines
808 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>2048</title>
|
|
<link rel="stylesheet" href="2048.css">
|
|
</head>
|
|
<body>
|
|
<!-- ADD: ambient particle / neon background layer -->
|
|
<div class="particles" aria-hidden="true"></div>
|
|
<div class="starfield"></div>
|
|
<div class="cursor-light"></div>
|
|
<h1>2048</h1>
|
|
<div id="top-menu">
|
|
<button class="btn" onclick="restartGame()">Restart</button>
|
|
<button class="btn" onclick="goHome()">Home</button>
|
|
</div>
|
|
|
|
<hr>
|
|
<h2>Score: <span id="score">0</span></h2>
|
|
<div id="board">
|
|
</div>
|
|
<script src="2048.js"></script>
|
|
</body>
|
|
</html> |