OOP math game