-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
95 lines (95 loc) · 3.07 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="A browser game where you get to guess which pathfinding algorithm will reach the goal first, all visualized!"
/>
<link rel="manifest" href="manifest.json" />
<style>
body {
background: radial-gradient(circle at top left, #9c27b0, #ff9800);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
noscript {
color:rgb(247, 247, 247);
text-shadow:
0px 0px 1px rgb(26, 26, 26),
-1px -1px 1px rgb(26, 26, 26),
1px -1px 1px rgb(26, 26, 26),
-1px 1px 1px rgb(26, 26, 26),
1px 1px 1px rgb(26, 26, 26);
font-weight: bold;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.noscript-h1 {
margin-top: 20px;
margin-bottom: 15px;
font-size: 300%;
}
.noscript-h2 {
margin-top: 15px;
font-size: 200%;
}
.noscript-h3 {
margin-top: 15px;
margin-bottom: 25px;
font-size: 250%;
}
.noscript-p {
color:rgb(247, 247, 247);
}
.noscript-app-container {
display: flex;
justify-content: center;
align-items: center;
}
.noscript-app-backdrop {
background-color: rgba(0, 0, 0, 0.4);
padding: 0px 40px;
border-radius: 16px;
border: 1px solid black;
box-shadow: 0 0 15px black;
margin-top: 15px;
max-width: fit-content;
}
</style>
<title>Pathfinding Race</title>
</head>
<body>
<noscript>
<main>
<div class="noscript-app-container">
<div class="noscript-app-backdrop">
<h1 class="noscript-h1">Pathfinding Race</h1>
<h2 class="noscript-h2">A Browser Game Visualizing Pathfinding Algorithms Made In React</h2>
<p class="noscript-p">
Pathfinding Race is not only a pathfinding visualizer, but also a game! Multiple pathfinding algorithms will battle it out on a randomized grid, and the game is in correctly guessing which contender will reach the Goal Node first!
<br />
<br />
The six pathfinding algorithms implemented in this app are:
<ol>
<li>Breadth First Search</li>
<li>Depth First Search</li>
<li>Dijkstra's Algorithm</li>
<li>A-Star Search</li>
<li>Greedy Best-First Search</li>
<li>Bidirectional Breadth First Search</li>
</ol>
You can read more about each algorithm by clicking the 'Information' button in the app.</p>
</p>
<h3 class="noscript-h3">Enable JavaScript To Play Pathfinding Race Now!</h3>
</div>
</div>
</main>
</noscript>
<div id="root"></div>
<script type="module" src="/src/index.jsx"></script>
</body>
</html>