-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (51 loc) · 2.41 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!doctype html>
<html>
<head>
<title>Maze Puzzle</title>
<link rel="stylesheet" href="./style.css" />
<link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
<script type="text/javascript" src="lib/rl.js"></script>
<script type="text/javascript" src="lib/Chart.min.js"></script>
<script type="text/javascript" src="agent.js"></script>
<script type="text/javascript" src="world.js"></script>
</head>
<body onload="initGame()">
<div id="board"></div>
<div id="controls">
<div class="logo">
<span>Maze</span><span>Puzzle</span>
</div>
<div style="position: absolute;width: 100%;text-align: center;">
<button type="button" onClick="tdlearn()"><span class="lnr lnr-flag"></span>Train</button>
<button type="button" onClick="initGame()" id="shuffle"><span class="lnr lnr-sync"></span>Shuffle</button>
<select id="size">
<option value="10" selected>10x10</option>
<option value="15">15x15</option>
<option value="20">20x20</option>
<option value="30">30x30</option>
<option value="40">40x40</option>
<option value="50">50x50</option>
</select>
</div>
<div class="github">
<a class="github-button" href="https://github.com/naumanumer/maze" data-icon="octicon-star" data-size="large" data-show-count="true"
aria-label="Star naumanumer/sudoku on GitHub">Star</a>
<a class="github-button" href="https://github.com/naumanumer/maze/issues" data-icon="octicon-issue-opened" data-size="large"
aria-label="Issue naumanumer/sudoku on GitHub">Issue</a>
</div>
</div>
<div id="console">
<button id="clear" title="Clear logs" onClick="clearConsole()">x</button>
</div>
<div id="myChart" width="310" height="250"></div>
<script src="./jquery.min.js"></script>
<script src="./console.js"></script>
<script src="./puzzle genrator.js"></script>
<script src="./player.js"></script>
<script src="./layout.js"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript" src="./chart.js"></script>
<!-- <script src="./solution.js"></script> -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>