In this chapter, we allowed the user to control our game by using two different input mechanisms, that is, touching the screen and moving the phone around in order to use the accelerometer sensor; we have also made our game stop whenever the back button is pressed.
In the next chapter, we will cover the different ways of adding text to our games.