- Learning Java by Building Android Games
- John Horton
- 73字
- 2021-07-23 19:02:29
Running the game
Switch off debugging if you want to see the game as the player would see it. You can do this by changing the declaration of debugging
from true
to false
. Run the game and try to locate the sub' using the distance clues given.
And when you shoot the sub'…BOOM!
As suggested in the image, taking a shot (tapping the screen will start the game all over again.)