Computing: Free Pascal Programming

Programming Home   Home   Contact

Maths game: Addition of fractions (Fractions).


Description: A mathematics game, intended for primary school pupils and dealing with the addition of fractions: From the fractions displayed in the grid, choose 2, 3 or 4 and add them in order to get a result of 1. But attention: You may not enter solutions as 1/5 + 4/5, as the number of different denominators must be at least 2 or at least 3 (as selected in the "Settings") menu.
To select a fraction, just click the corresponding square in the grid: The fraction chosen will be highlighted and added to the answer field; to remove it, use the "Undo" button. If you click a square and nothing happens, it's because you clicked at a bad place; be sure to click the square outside the fraction text!
The application has several options making the game easier or more difficult: Selection of the number of operands (2, 3 or 4), the number of different denominators (2 or 3), allowing or not halfs and tenths, using colors to mark all squares with fractions that have the same denominator.

Free Pascal features: Coloring and hiding shapes; mouse click on shape objects. Creation of objects during run-time. String grids.

Screenshot:

Maths game: Adding fractions