forked from ghewgill/puzzles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fifteen.html
39 lines (38 loc) · 2.04 KB
/
fifteen.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=US-ASCII">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Fifteen</title>
<link rel="previous" href="cube.html">
<link rel="ToC" href="index.html">
<link rel="index" href="docindex.html">
<link rel="next" href="sixteen.html">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<p><a href="cube.html">Previous</a> | <a href="index.html">Contents</a> | <a href="docindex.html">Index</a> | <a href="sixteen.html">Next</a></p>
<h1><a name="C5"></a>Chapter 5: <a name="i0"></a>Fifteen</h1>
<p>
The old ones are the best: this is the good old ‘<a name="i1"></a>15-puzzle’ with sliding tiles. You have a 4×4 square grid; 15 squares contain numbered tiles, and the sixteenth is empty. Your move is to choose a tile next to the empty space, and slide it into the space. The aim is to end up with the tiles in numerical order, with the space in the bottom right (so that the top row reads 1,2,3,4 and the bottom row reads 13,14,15,<em>space</em>).
</p>
<h2><a name="S5.1"></a>5.1 <a name="i2"></a>Fifteen controls</h2>
<p>
This game can be controlled with the mouse or the keyboard.
</p>
<p>
A left-click with the mouse in the row or column containing the empty space will move as many tiles as necessary to move the space to the mouse pointer.
</p>
<p>
The arrow keys will move a tile adjacent to the space in the direction indicated (moving the space in the <em>opposite</em> direction).
</p>
<p>
(All the actions described in <a href="common.html#S2.1">section 2.1</a> are also available.)
</p>
<h2><a name="S5.2"></a>5.2 <a name="i3"></a>Fifteen parameters</h2>
<p>
The only options available from the ‘Custom...’ option on the ‘Type’ menu are <em>Width</em> and <em>Height</em>, which are self-explanatory. (Once you've changed these, it's not a ‘15-puzzle’ any more, of course!)
</p>
<hr><address></address></body>
</html>