You have to defeat the Math king to win the game.
The credits might pop up when you start playing so stop the game and start again.