-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
47 lines (40 loc) · 1.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
---
layout: default
title: Puzzle Solver
description: A automated solver for the 8 switches puzzle and 5 switches puzzle in the labyrinth in path of exile (POE).
---
<div class="alert alert-danger" role="alert" id="alert-no-solution">
Oops! Something wrong. <a href="https://github.com/tzing/poe-puzzle/issues">report bug</a>
</div>
<p>
<em>Where there's a puzzle, there must be a cheat sheet.</em>
</p>
<div class="btn-group" data-toggle="buttons" id="puzzle-type">
<label class="btn btn-outline-warning">
<input type="radio" name="options" id="type-8puzzle" autocomplete="off"> 8 switches
</label>
<label class="btn btn-outline-warning">
<input type="radio" name="options" id="type-5puzzle" autocomplete="off"> 5 switches
</label>
</div>
<div class="row">
<div class="pane col-md-6 col-sm-12">
<p class="lead text-muted">
Initial Status
</p>
<div class="grid" id="grid-init"></div>
</div>
<div class="pane col-md-6 col-sm-12">
<p class="lead text-muted">
Solution
</p>
<div class="grid" id="grid-sol"></div>
<p></p>
<p>
Press these switches in any order to solve the puzzle.
</p>
</div>
</div>
<script type="text/javascript" src="js/solver.js"></script>
<script type="text/javascript" src="js/ui.js"></script>
<script type="text/javascript" src="js/ui-solver.js"></script>