PHP Math Puzzle Generator - By PHP-Editors

Rules of play: The puzzle is made up of 4 boards (A through D), each board is split into four groups of four numbers. Each groups of numbers within a board have one solution - so each group of numbers have the same solution per board. Each board has only one solution. To find the solution, use the operators given under each group. These operators are both used, one is used once, the other is used twice. To give an example: 10, 20, 15 and 5. Operators + (plus) and - (minus) then a possible solution could be (((10+5)+15)-20)=10. The order of the numbers and operators are random, the puzzle is for you to work out possible solutions per group and look for a common answer in the board. Do this for all boards to solve the puzzle.

When you think you have the solution, click the 'Check' button and a javascript alert box will tell you if your solution is correct or incorrect. If you are unsure and want to get the solution, click the 'show solution' box, a javascript alert box will give the answer.

Each time the page is loaded a new puzzle is generated. This is the first version of this puzzle, so please give your feedback. Let us know if it is easy or hard, or if you know ways to improve it. Have Fun!!

Board A
6 13
31 41
+ -
37 14
25 47
+ -
45 26
20 28
+ -
8 25
2 6
+ -
A =
    Board B
15 30
13 25
+ -
14 40
40 9
+ -
20 46
31 34
- +
32 45
24 12
+ -
B =
Board C
11 25
17 11
+ -
16 16
20 6
- +
26 9
9 30
+ -
24 25
45 10
+ -
C =
    Board D
17 33
20 27
- +
45 44
12 36
- +
39 34
32 18
- +
17 14
38 30
+ -
D =
A + B + C + D = 89
      



Author Details

Author: PHP-Editors.com - Let us know what your think, is it easy or hard and do you have ideas on how to improve it?




© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.