-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (41 loc) · 1.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pathfinder</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
</head>
<body class='p-0 bg-light'>
<div class='navbar navbar-dark bg-primary'>
<div class='navbar-brand'>
<h1>
A* Pathfinding
</h1>
</div>
<small class='text-white float-right'>
Victor Mamede
</small>
</div>
<div class='container-fluid'>
<div class='m-4 position-absolute'>
<div class='border border-primary rounded p-2 bg-white'>
<div class='m-2'>
Node to place:
<div id="toplace-selector"></div>
</div>
<div id='speed-selector'></div>
<div class='text-center'>
Move Directions:
<div id='possible-moves-selector'></div>
</div>
<small>*Left click to place<br>*Right click to delete</small>
</div>
</div>
<div class='p-2 text-center'>
<canvas class='p-1 border border-secondary rounded' width='800' height='608' id='game-canvas'></canvas>
</div>
</div>
<script src="./dist/bundle.js"></script>
</body>
</html>