It’s a piece of cake to exit the game, just use your device’s navigation buttons to minimize the app.
 
If you have on-screen navigation buttons, you need to enable them by swiping leftwards.

If you use navigation gestures, swipe up twice to exit.