-
Notifications
You must be signed in to change notification settings - Fork 0
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
b203878
commit 7cd5f15
Showing
1 changed file
with
20 additions
and
18 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,25 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Social Media Dodger</title> | ||
<link rel="stylesheet" href="https://github.com/heybobjones/dodgy-dodger/blob/main/styles.css"> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Social Media Dodger</title> | ||
<link rel="stylesheet" href="styles.css"> | ||
</head> | ||
<body> | ||
<div id="flashOverlay"></div> | ||
<div id="gameOver"> | ||
<div id="gameOverHeader">Game Over</div> | ||
<div id="gameOverSubheader">You got spammed to death! 💀</div> | ||
</div> | ||
<canvas id="gameCanvas" width="1200" height="600"></canvas> <!-- Adjusted canvas size --> | ||
<div id="controls"> | ||
<input type="file" id="profilePicUpload" accept="image/*"> | ||
<button id="startGame">Start Game</button> | ||
</div> | ||
<audio id="collisionSound" src="collision.mp3"></audio> | ||
<audio id="gameOverSound" src="gameover.mp3"></audio> | ||
<audio id="backgroundMusic" src="background.mp3" loop></audio> | ||
<script src="js/script.js"></script> | ||
<div id="flashOverlay"></div> | ||
<div id="gameOver"> | ||
<div id="gameOverHeader">Game Over</div> | ||
<div id="gameOverSubheader">You got spammed to death! 💀</div></br> | ||
<div> Connect with me on <a href="https://fb.com/bobjones" target="_blank">Facebook</a></div> | ||
</div> | ||
<canvas id="gameCanvas" width="800" height="400"></canvas> | ||
<div id="controls"> | ||
<div><h1>Upload your facebook profile pic and save yourself!</h1></div> | ||
<center><input type="file" id="profilePicUpload" accept="image/*"> | ||
<button id="startGame">Start Game</button></div></center> | ||
</div> | ||
<audio id="collisionSound" src="collision.mp3"></audio> | ||
<audio id="gameOverSound" src="gameover.mp3"></audio> | ||
<audio id="backgroundMusic" src="background.mp3" loop></audio> | ||
<script src="script.js"></script> | ||
</body> | ||
</html> |