/
index.html
42 lines (41 loc) · 1.66 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
<html>
<head>
<title>Sokoban</title>
<link rel="stylesheet" href="sokoban.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="sokoban.js"></script>
<script src="levels.js"></script>
</head>
<body>
<canvas width="600" height="600" id="canvas">
</canvas>
<div class="instructions">
<h2>Sokoban, with a maths twist!</h2>
<h3 class="levelTitle"></h3>
<button id="reset">Reset level</button>
<p class="basicInstructions">
The aim of the game is to fill all the target blocks (green outline), using all the number blocks (filled green)
</p>
<p class="controls basicInstructions">
You're the red block. Move around using
<img src="images/letter-w-icon.png"/>,
<img src="images/letter-a-icon.png"/>,
<img src="images/letter-s-icon.png"/>,
<img src="images/letter-d-icon.png"/>
on your keyboard. You can push the number blocks (filled green), but cannot walk through or push any other type of block.
</p>
<p class="advancedInstructions">
There are also math blocks, in the purply grey. These let you combine two number blocks by applying the operation indicated on the block. Push two number blocks onto a maths block to see it in action.
</p>
<p class="advancedInstructions">
Remember, you only win when all target blocks are filled, and all number blocks are used!
</p>
<p class="meta">
Built by Sitati. <a href="https://github.com/lesiki/maths-sokoban">View source on Github</a>.
</p>
<p class="meta">
Design & play your own levels using <a href="http://lesiki.github.com/sokoban-builder/">the builder tool</a>
</p>
</div>
</body>
</html>