chiark / gitweb /
sgt-puzzles (20161228.7cae89f-1) unstable; urgency=medium
[sgt-puzzles.git] / debian / README.Debian
1 Configuration of sgt-puzzles
2 ============================
3
4 Simon Tatham writes in the main documentation:
5
6    "The games in this collection deliberately do not ever save
7     information on to the computer they run on: they have no high score
8     tables and no saved preferences. (This is because I expect at least
9     some people to play them at work, and those people will probably
10     appreciate leaving as little evidence as possible!)"
11
12 Currently, various settings are configurable through environment
13 variables.  These may be replaced by a better configuration mechanism
14 in future, and I cannot guarantee that they will continue to work.
15
16 Colours
17 -------
18
19 The colours used by any game can be set using variables of the form:
20
21     <game>_COLOUR_<number>=<red><green><blue>
22
23 <game> is the name of the game in capitals, without any "game" suffix.
24 <number> identifies the game element that the colour applies to.
25 <red>, <green> and <blue> are the levels of these colour components
26 as 2 hexadecimal digits each (as used in HTML and CSS).
27
28 In particular, the colours used for regions in the Map game can be
29 changed using the variables MAP_COLOUR_2, MAP_COLOUR_3, MAP_COLOUR_4
30 and MAP_COLOUR_5.  The following colour settings appear to make the
31 regions more easily distinguishable for those with red-green colour
32 blindness, and may also work for monochromats:
33
34     MAP_COLOUR_2=B27F3F
35     MAP_COLOUR_3=CCB27F
36     MAP_COLOUR_4=7F99BF
37     MAP_COLOUR_5=8C727F
38
39 Size
40 ----
41
42 All puzzles are made up of a number of square tiles.  For example, a
43 "3x3" Solo puzzle has 9x9 tiles.  The size of the tiles can be changed
44 by resizing the window.  The initial size can be set using a variable
45 of the form:
46
47     <game>_TILESIZE=<size>
48
49 <game> is the name of the game in capitals, without any "game" suffix.
50 <size> is the number of pixels on each side of a tile.
51
52 Miscellaneous
53 -------------
54
55 The behaviour of the left and right mouse buttons in Slant can be
56 reversed by setting the variable SLANT_SWAP_BUTTONS=y.
57
58  -- Ben Hutchings <ben@decadent.org.uk>  Sun, 29 Oct 2006 02:09:28 +0000