This commit is contained in:
sageTheDM 2025-01-05 03:20:42 +01:00
parent 8478bc66e7
commit 78795c5be3
3 changed files with 79 additions and 34 deletions

View file

@ -11,8 +11,8 @@
<!-- Game Boy Screen -->
<div class="screen">
<article class="game">
<h1>Snake - Game</h1>
<div class="description">
<h1 class="title" id="title">Snake - Game</h1>
<div class="description" id="description">
<h2>Description</h2>
<p>Eat as many apples and grow as much as possible</p>
<p>◀ or A or arrow left = move left</p>
@ -20,6 +20,7 @@
<p>▲ or W or arrow up = move up</p>
<p>▼ or S or arrow down = move down</p>
</div>
<canvas id="grid"></canvas>
</article>
</div>
@ -34,7 +35,7 @@
<button class="dpad-btn down" id="down"></button>
</div>
<!-- A, B and start buttonButtons on the right -->
<!-- A, B and start button on the right -->
<div class="action-buttons">
<button class="start-btn btn" id="start">Start</button>
<button class="btn" id="a">A</button>