|
<!DOCTYPE html> |
|
<html> |
|
<head> |
|
<title>2048 Game</title> |
|
<link rel="stylesheet" href="style.css"> |
|
</head> |
|
<body> |
|
<div class="container"> |
|
<h1>2048</h1> |
|
<h2>Created By M kazi</h2> |
|
<div class="score-container"> |
|
Score: <span id="score">0</span> |
|
</div> |
|
<div class="game-board"> |
|
</div> |
|
<div class="instructions"> |
|
How to play: Use arrow keys to move the tiles. Tiles with the same number merge when they touch. Add them up to reach 2048! |
|
</div> |
|
<a href="contact.html">Contact</a> |
|
</div> |
|
<script src="script.js"></script> |
|
</body> |
|
</html> |
|
|