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
38 34
46 49
- +
35 37
25 28
- +
48 21
2 26
+ -
3 11
25 7
- *
A =
    Board B
27 44
13 21
+ -
21 13
15 2
- +
45 31
4 27
+ -
10 16
17 26
+ -
B =
Board C
4 40
16 18
- *
44 40
21 1
- +
26 46
21 23
+ -
17 25
18 48
- +
C =
    Board D
19 1
2 16
- *
39 33
46 48
- +
8 26
25 5
- +
5 9
19 29
+ -
D =
A + B + C + D = 46
      



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-2014 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.