Trio is a math game for training children in combinations of elementary multiplication and addition. Nevertheless it is a good concentration game for people who like to do math in their heads.
The idea of the game is as follows: On a 7x7 board number tokens are randomly placed having numbers from 1 to 9 on them. Some number x between 10 and 80 is given and you have to find a triple of neighbouring tokens a,b,c on the board where a*b+c equals x (the tokens being adjacent horizontally, vertically and diagonally in arbitrary directions, but in a straight line). When you have found such a triple, before the think time is up, you click onto the middle token with the left mouse button. Now the system will tell you whether your guess is correct or not. If you think there are no solutions, do not click at all. A right click will bring you to all the solutions for the given number (if any) and another to the next problem. When all 71 numbers have been shown, the game ends and you will be added to the high-score-list.
Figure 1 shows the situation after the user has clicked on some token to solve the problem for the given number 10. Note that 10 equals 1*3+7 (to be read horizontally from right to left), so the solution is correct.
When you start the program, a window similar to the one shown in Figure 2 appears.
There are five buttons available at the top of the window (see Figure 3) with the following functions:
For the normal course of a game you have to press the "start game"-button. A first random number between 10 and 80 is shown in the number box in the top right of the window and the time runs down.
Now you have to find a triple of neighbouring tokens a,b,c on the board where a*b+c equals the given number. Because the tokens may be adjacent horizontally, vertically and diagonally in arbitrary directions, but in a straight line, at each position you normally have eight token constellations which may fit.
When you have found an appropriate triple you must click onto the middle token with the left mouse button. If you think there are no solutions, do not click at all (when playing without an "unsolvable" button) or click on the unsolvable button when it is shown. Anyway when you click the program will tell you whether your guess is correct or not and increase or decrease your score accordingly.
When the time is up or after the evaluation of your guess and an additional right click the program will show you to all the solutions for the given number (if any, see figure 4). You can hover over fields marked as solutions to see how they work (in case you cannot find out). Another right click brings you to the next problem.
If after all 71 problems your score is large enough, then you generate an entry in the high score table (with your login name).
Some settings of the program are user-definable and will be stored in the registry. These are:
Figure 5 shows the preferences dialog window in detail.
The following steps have to be performed to play the game:
Thomas Tensi, October 2008
You can download the Windows binary of the game. If you are interested in the Eiffel source code (yes: it is programmed with "Design by Contract"), it is available here.