-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (25 loc) · 1006 Bytes
/
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
<html>
<head>
<title>Pacmen</title>
<!-- DO NOT CHANGE THIS LINE OF CODE -->
<script src="./pacmen.js"></script>
</head>
<body>
<div id='game'>
</div>
<div id = "make">
<button onclick='makePacmen()' width='200' height='30'>Add 1 PacMan</button>
<button onclick='makePacmen(5)' width='200' height='30'>Add 5 PacMen</button>
<button onclick='makePacmen(10)' width='200' height='30'>Add 10 PacMen</button>
</div>
<div id = "remove">
<button onclick='removePacmen()' width='200' height='30'>Remove 1 PacMan</button>
<button onclick='removePacmen(5)' width='200' height='30'>Remove 5 PacMen</button>
<button onclick='removePacmen(10)' width='200' height='30'>Remove 10 PacMen</button>
</div>
<div id = "start">
<button id='startButton' onclick='update()' width='200' height='30'>Start Game</button>
<button onclick='clearPacmen()' width='200' height='30'>Clear Pacmen</button>
</div>
</body>
</html>