-
Notifications
You must be signed in to change notification settings - Fork 0
/
best.html
34 lines (26 loc) · 1.1 KB
/
best.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 lang="en">
<head>
<meta charset="UTF-8">
<title>Pac Man</title>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript" src="mainBest.js"></script>
<script type="text/javascript" src="canvasRenderer.js"></script>
<script type="text/javascript" src="maze.js"></script>
<script type="text/javascript" src="agentUtils.js"></script>
<script type="text/javascript" src="ghostAgent.js"></script>
<script type="text/javascript" src="pacmanAgent.js"></script>
<script type="text/javascript" src="game.js"></script>
</head>
<body>
<img src="img/ghost_0.png" style="display: none" id="ghost0"/>
<img src="img/ghost_1.png" style="display: none" id="ghost1"/>
<img src="img/ghost_2.png" style="display: none" id="ghost2"/>
<img src="img/ghost_3.png" style="display: none" id="ghost3"/>
<img src="img/pacman.png" style="display: none" id="pacman"/>
<div id="bestPlayer">
<button id="btn">PLay Best Player</button>
<br>
<canvas id="bestCanvas" width="600" height="600"></canvas>
</div>
</html>