I did exactly this in one of my android app. When the user successfully finishes the games, he will be given an option to either rate the game on Google play or retry the game again. If he fails to complete the game, he will just be allowed to retry/quit.