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
21 33
23 19
- +
36 40
6 10
+ -
41 9
10 48
+ -
32 10
7 17
- +
A =
    Board B
38 13
41 11
+ -
8 13
31 31
+ -
6 23
41 49
+ -
25 15
5 24
+ -
B =
Board C
9 1
9 6
+ -
10 4
49 6
- *
32 36
12 23
- +
20 4
31 8
- +
C =
    Board D
22 32
9 4
+ -
40 37
29 23
- +
9 19
8 33
+ -
17 37
29 12
- +
D =
A + B + C + D = 43
      



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.