Tux Math is a well known free math educative software originally written in C. This version is written in Javascript so it can be played in any browser or mobile device.
Tuxmath Javascript is published under the GNU Affero General Public License (AGPL-3.0-or-later).