-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (46 loc) · 2.38 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Load jQuery. -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<!-- Load Bootstrap. -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="plumbersolver.js" type="text/javascript"></script>
<script src="index.js" type="text/javascript"></script>
<title>Plumber Solver</title>
</head>
<body>
<div class="container text-center">
<div class="page-header">
<h1>Plumber Solver</h1>
<p><a href="https://play.google.com/store/apps/details?id=com.tedrasoft.plumber" target="_blank">"Plumber"</a> game app solver.</p>
</div>
<h2>Input Your Problem</h2>
<p>Place 'L' character for L-shape pipes <img src="./img/pipe-L0.png" alt="L-share pipe" style="height:4ex;" />, place 'I' for I-shape pipes <img src="./img/pipe-I1.png" alt="I-share pipe" style="height:4ex;" /> and place '_' for blank space <img src="./img/pipe-_0.png" alt="blank space" style="height:4ex;" />.</p>
<textarea id="problem" style="width:20em;height:20ex;font-size:30px;font-family:Monospace;"></textarea>
<div>
<button class="btn-primary btn-lg" onclick="ps_solve();">Solve Now!</button>
</div>
<div class="row">
<div class="col-md-6">
<h2>Problem</h2>
<div id="image-prob"></div>
</div>
<div class="col-md-6">
<h2>Answer</h2>
<div id="image-answer"></div>
</div>
</div>
<hr />
<footer>
<p>Copyright © <a href="https://twitter.com/visvirial">@visvirial</a> 2017.</p>
<p>The source code is available at <a href="https://github.com/visvirial/plumber-solver">GitHub</a>.</p>
<p>Please donate to: <a href="bitcoin:1viriaLNKJ9nuwbEi7zpxNEbCnSbUMM3j">1viriaLNKJ9nuwbEi7zpxNEbCnSbUMM3j</a></p>
</footer>
</div>
</body>
</html>