5d20d142da56e68f495e25f5c2c2dcfd49007f16
Stefan Schuermans add tetris doc

Stefan Schuermans authored 5 years ago

1) <html>
2)   <head>
3)     <title>Blinker - Tetris</title>
4)   </head>
5)   <body>
6)     <h1>Blinker - Tetris</h1>
7)     <p>
8)       The tetris module provides a tetris game on demand.
9)       If starts when the operator connection for the player is established.
10)     </p>
11)     <h2>Keys</h2>
12)     <p>
13)       The game is controlled via an operator connection, i.e., via telephone
14)       keys. The key have the following functions:
15)       <table>
16)         <tr><td><b>key</b></td>
17)             <td width="2em"></td>
18)             <td><b>description</b></td></tr>
19)         <tr><td><code>#</code></td>
20)             <td></td>
21)             <td>leave game</td></tr>
22)         <tr><td><code>*</code></td>
23)             <td></td>
24)             <td>play start sound to inform user about the active game</td></tr>
25)         <tr><td><code>1</code></td>
26)             <td></td>
27)             <td>rotate falling stone left (counter-clock-wise)</td></tr>
28)         <tr><td><code>2</code> / <code>3</code></td>
29)             <td></td>
30)             <td>rotate falling stone right (clock-wise)</td></tr>
31)         <tr><td><code>4</code></td>
32)             <td></td>
33)             <td>move falling stone to the left</td></tr>
34)         <tr><td><code>6</code></td>
35)             <td></td>
36)             <td>move falling stone to the right</td></tr>
37)         <tr><td><code>8</code></td>
38)             <td></td>
39)             <td>drop stone</td></tr>
40)       </table>
41)     </p>
42)     <h2>Configuration</h2>
43)     <p>
44)       The configuration of the tetris module with name <code>NAME</code>
45)       is located in the <code>tetrises/NAME</code> subdirectory.
46)     </p>
47)     <h3>Colors</h3>
48)     <p>
49)       The colors of the background and of the stones are configurable.
50)       They are given in web notation, i.e., as 6 hexadecimal digits -
51)       2 digits for read, green and blue.
52)       The color is automatically converted to the selected format
53)       (i.e. number of channels and number of colors).
54)       Each color is defined in the appropriate file. If the file is missing
55)       or contains an invalid color code, the respective element is not drawn
56)       on the frames.
57)       The following color files exist:
58)       <table>
59)         <tr><td><b>file name</b></td>
60)             <td width="2em"></td>
61)             <td><b>element</b></td></tr>
62)         <tr><td><code>backgroundColor</code></td>
63)             <td></td>
64)             <td>background of the tetris field</td></tr>
Stefan Schuermans fix typo

Stefan Schuermans authored 5 years ago

65)         <tr><td><code>stoneColor</code></td>