Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterCoderABC authored Oct 23, 2024
1 parent b7f9748 commit 7375d6f
Show file tree
Hide file tree
Showing 15 changed files with 692 additions and 0 deletions.
Binary file added SuperMario256.ttf
Binary file not shown.
Binary file added achievement-video-game-type-1-230515.mp3
Binary file not shown.
Binary file added game-bg-music.mp3
Binary file not shown.
Binary file added game-over-arcade-6435.mp3
Binary file not shown.
Binary file added hammerdown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added hammerup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Whac-A-Mario</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<audio src="whack01-105535.mp3" id="whack-sound"></audio>
<audio src="game-over-arcade-6435.mp3" id="game_over"></audio>
<audio src="achievement-video-game-type-1-230515.mp3" id="start-button"></audio>
<audio src="game-bg-music.mp3" id="bg-music" loop="true"></audio>
<button id="mute"><i class="fa-solid fa-volume-xmark" id="sound-button"></i></button>
<table id="leaderboard">
<tbody id="lbbody">
<tr>
<th colspan="3">LEADERBOARD</th>
</tr>
<tr>
<th>Position</th>
<th>Name</th>
<th>Score</th>
</tr>
</tbody>
</table>
<div id="start-game">
<h1 id="title">Whac-A-Mario</h1>
<h3 style="color: rgb(83, 4, 4);" id="warning">DON'T HIT THE PLANTS!</h3>
<input type="text" id="username" placeholder="Enter Username: (Please enter same as last time, if any.)"/>
<h2 id="difficulty-label"><b>Select Difficulty:</b></h2>
<select id="difficulty">
<option value="easy" selected>Easy</option>
<option value="medium">Medium</option>
<option value="hard">Hard</option>
<option value="impossible" style="background-color: red;">IMPOSSIBLE</option>
</select><br><br><br>
<button id="start">START</button><br>
</div>
<h5>Sound Effect from <a href="https://pixabay.com/?utm_source=link-attribution&utm_medium=referral&utm_campaign=music&utm_content=6435">Pixabay.</a> &nbsp; Website made purely using HTML, CSS, JS.</h5>
<script src="script.js" type="module" defer></script>
<script src="https://kit.fontawesome.com/19c60793e2.js" crossorigin="anonymous"></script>
</body>
</html>
Binary file added mario-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added montymole.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pipe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pirhanaplant.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7375d6f

Please sign in to comment.