in this game, you will have a 3x3 grid, numbers are only from 0 to 99. there are 4 numbers already available on the grid as follows:(nothing on the first line in this example)
36 | ||
40 | 7 | 48 |
the goal is to fill up all the numbers with the mathematic connection each other this kind of game allows plus, minus, multiply, division, to the power of, square root, factorial, etc. in terms of 'connection'. you have to use at least 2 numbers horizontally or vertically surrounding the blank spot, which results the valid equation each other, unless lacking numbers surrounding the blank spot to be filled (ie 1 number only surrounding), not allowed to fill in. for an example:
36 | 43 | |
40 | 7 | 48 |
43 = 36 + 7
since there are no number connecting the top right corner, you can simply ad any number you want:
81 | ||
36 | 43 | |
40 | 7 | 48 |
validity check is for the newly filled spot only, does not apply to earlier movement, because their connection are based on 2 numbers.
if you are going to use any equation which overloads, take the last 2 integer or decimal (decimal goes first, up to 30 decimal place in actual value, invalid if the decimal place is endless). for an example, you can use 3 numbers too:
81 | ||
36 | 43 | 83 |
40 | 7 | 48 |
1983 = 43*48-81
with the rule, fill up the rest 5 spots:
5 | 70 | |
96 | ||
0 |