Skip to content

Commit

Permalink
6
Browse files Browse the repository at this point in the history
  • Loading branch information
heybobjones committed Jun 25, 2024
1 parent b203878 commit 7cd5f15
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions index.html
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>

0 comments on commit 7cd5f15

Please sign in to comment.