Code the GameActivity class