Skip to content

Commit

Permalink
Merge branch 'dhairyagothi:Main' into Main
Browse files Browse the repository at this point in the history
  • Loading branch information
rupeshv2121 authored Jan 12, 2025
2 parents 47d2e1f + 0a274bc commit 36e2501
Show file tree
Hide file tree
Showing 12 changed files with 568 additions and 272 deletions.
38 changes: 19 additions & 19 deletions public/2048_game/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<html>
<head>
<link rel="stylesheet" href="style.css">
<script src ="script.js"></script>
<title>2048 Game</title>
</head>
<body>
<div class = "header">2048 Game</div>

<div class = "instructions">Instructions: Use arrow key to play. Refresh the page to restart.</div>

<div class = "scoreContainer">
<div class="scoreTitle">score</div>
<span id="score">0</span>
</div>

<div class ="grid"></div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
<title>2048 Game</title>
</head>
<body>
<div class="header">2048 Game</div>
<div class="instructions">Instructions: Use arrow keys to play. Refresh the page to restart.</div>
<div class="scoreContainer">
<div>Score: <span id="score">0</span></div>
</div>
<div class="grid"></div>
<div id="result"></div>
</body>
</html>
Loading

0 comments on commit 36e2501

Please sign in to comment.