-
Notifications
You must be signed in to change notification settings - Fork 0
/
snakeGame.html
27 lines (27 loc) · 936 Bytes
/
snakeGame.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
<title>Snake</title>
</head>
<body>
<div class="basicStyling" id="fullScreen">
<div id="endModal" class="basicStyling">
<div class="centerArea" id="modalContent">
<p id="modalText"></p>
<button type="reset" id="resetButton" class="buttonStyle">Play Again</button>
<button type="button" id="closeButton" class="buttonStyle">Close</button>
</div>
</div>
<div id="topSide">
<p>Select the Difficulty</p>
<button type="button" id="difficultyEasy" class="buttonStyle">Easy</button>
<button type="button" id="difficultyMedium" class="buttonStyle">Medium</button>
<button type="button" id="difficultyHard" class="buttonStyle">Hard</button>
</div>
<canvas id="gamescreen" width="1100" height="1100"></canvas>
</div>
<script src="script.js"></script>
</body>
</html>