Skip to content

Commit

Permalink
Create snakepixel.html
Browse files Browse the repository at this point in the history
  • Loading branch information
prayogak authored Apr 7, 2024
1 parent 3b79ca6 commit 49d786f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions sc/html/snakepixel.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Snake Game</title>
<link rel="stylesheet" href="../htmlku/snakepixel_style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css">
<script src="..htmlku/snakepixel_script.js" defer></script>
<script async src="https://ss.nwmnd.com/banner.js"></script>
</head>
<body>
<div class="wrapper">
<div class="game-details">
<span class="score">Score: 0</span>
<span class="high-score">High Score: 0</span>
</div>
<div class="play-board"></div>
<div class="controls">
<i data-key="ArrowLeft" class="fa-solid fa-arrow-left-long"></i>
<i data-key="ArrowUp" class="fa-solid fa-arrow-up-long"></i>
<i data-key="ArrowRight" class="fa-solid fa-arrow-right-long"></i>
<i data-key="ArrowDown" class="fa-solid fa-arrow-down-long"></i>
</div>
</div>

</body>
</html>

0 comments on commit 49d786f

Please sign in to comment.