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
1 31
46 39
- +
9 48
3 37
+ -
48 18
41 48
- +
38 6
28 7
+ -
A =
    Board B
23 18
26 48
+ -
48 38
8 37
- +
32 36
19 42
- +
30 43
11 43
- +
B =
Board C
21 8
40 32
- +
48 26
45 18
- +
27 49
17 10
+ -
3 20
12 24
- +
C =
    Board D
19 1
9 1
- *
28 22
4 19
- +
4 24
29 10
+ -
31 23
15 16
- +
D =
A + B + C + D = 56
      



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.