Educational mathematical library for games.