-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3ac992
commit 6ad01c6
Showing
3 changed files
with
80 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,32 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="style.css"> | ||
<script src="./js/main.js" type="module"></script> | ||
<title>Snake OOP</title> | ||
</head> | ||
<body> | ||
<div class="wrapper"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="style.css" /> | ||
<script src="./js/main.js" type="module"></script> | ||
<title>Snake OOP</title> | ||
</head> | ||
<body> | ||
<div class="wrapper"> | ||
<div class="fields"></div> | ||
<div class="score-container">Score: <span id="score">0</span></div> | ||
|
||
<div class="game-over-container hidden"> | ||
<span>Game Over</span> | ||
<div class="btn-container"> | ||
<button id="restart">Restart</button> | ||
<div class="wrapper"> | ||
<div class="fields"></div> | ||
<div class="game-over-container hidden-container lol"> | ||
<div class="game-over-content hidden-content"> | ||
<span>Game Over</span> | ||
<div class="score-container"> | ||
Score: <span class="score">0</span> | ||
</div> | ||
<div class="btn-container"> | ||
<button id="restart"> | ||
<span>Restart</span> | ||
</button> | ||
</div> | ||
</div> | ||
<div class="overlay"></div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</body> | ||
</html> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters