Skip to content

Commit

Permalink
60
Browse files Browse the repository at this point in the history
  • Loading branch information
heybobjones committed Jun 25, 2024
1 parent bf28aeb commit 3c776f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
<div id="gameOver">
<div id="gameOverHeader">Game Over</div>
<div id="gameOverSubheader">You got spammed to death! πŸ’€</div></br>
<div> πŸ‘‰ Anyway, connect with me on <a href="https://fb.com/bobjones" target="_blank">Facebook</a></div>
<div> πŸ‘‰ Share your highscore with me on <a href="https://fb.com/bobjones" target="_blank">Facebook</a></div>
</div>
<canvas id="gameCanvas" width="1400" height="700"></canvas>
<div id="controls">
<h1>Upload your Facebook profile pic and save yourself from the spammers!</h1>
<p>Use ←↑→↓ to escape cold DMs!</p>
<h1>How long can you dodge the cold DMs!</h1>
<p>Use ←↑→↓ to escape the spammers!</p>
<div class="center">
<input type="file" id="profilePicUpload" accept="image/*">
<button id="startGame">Start Game</button>
Expand Down
2 changes: 1 addition & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ body {

#gameCanvas {
border: 4px solid #0F0;
width: 100%; /* Make the canvas take up full width */
width: 90%; /* Make the canvas take up full width */
max-width: 1600px; /* Limit the maximum width */
height: auto; /* Maintain aspect ratio */
}
Expand Down

0 comments on commit 3c776f0

Please sign in to comment.