-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (34 loc) · 1.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html>
<head>
<title>Super Mario Bounce</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="menu">
<h1>Super Mario Bounce</h1>
<label for="num-players">Number of Players: </label>
<select id="num-players">
<option value="1">1 Player</option>
<option value="2">2 Player</option>
</select>
<br>
<label for="player1-name">Enter Player 1's Name: </label>
<input type="text" id="player1-name" placeholder="Player 1 Name">
<label for="player1-color">Choose Player 1's Paddle Color:</label>
<input type="color" id="player1-color" value="#00ff00">
<br>
<br>
<label for="player2-name">Enter Player 2's Name: </label>
<input type="text" id="player2-name" placeholder="Player 2 Name">
<label for="player2-color">Choose Player 2's Paddle Color:</label>
<input type="color" id="player2-color" value="#ff0000">
<br>
<br>
<button id="start-game">Start Game</button>
<button id="play-audio">Play Audio</button>
</div>
<canvas></canvas>
<script src="script.js"></script>
</body>
</html>