GSoC/GCI Archive
Google Code-in 2010 Tux4Kids

Tuxmath Factoroids - display instructional messages with waves

completed by: Johndhel Maceda

mentors: David Bruce

The new Factoroids gameplay has the waves arranged with a new prime factor for each wave:

First wave - powers of 2 only

Second wave - powers of 2 and 3, and their multiples

Third wave - powers of 2, 3, and 5, and their multiples

etc.

 

This task is to display informative messages before waves, stating the player's objectives.  The messages could also include factoring hints, such as "multiples of 2 end in 2, 4, 6, 8, or 0", or "multiples of 5 end in 0 or 5".

 

Note: all text should be marked for gettext translation with "_(" and ")", e.g:

ExampleFunction("Text to be shown");

should be:

ExampleFunction(_("Text to be shown"));

 

The interested reader is referred to the GNU gettext manual for more information about internationalization.