In this lesson, students will learn:
- How to modify the Number Guessing game to the Alien Attack game.
The X position is the horizontal distance in pixels, from the left side. The Y is the vertical distance in pixels. from the top of the screen. If you miss, the alien moves closer to Earth and choose a new random X position. If it reaches Earth within eight turns, you lose. But if you hit it, you save Earth! Each time you make a guess, your cannon moves the X position you entered and your missile moves to the X and Y positions that you guessed.