Final Brick-out!
You're assignment is to clean up your brickout code based on my
comments and add afew more features. If you have any questions about
my comment just ask.
Once your original is clean and working correctly, I want you to add
the following functionality:
- Add fields to the world to keep track of the
player's Score and how many Lives they have left. (see
images below for some ideas)
- Add a pause feature. When the game is paused display something
like the image below.
- When the ball falls too low (somewhere below the paddle)
decrease the lives and allow them to start with a new
ball.
- When all the bricks are gone allow them to start with a
fresh ball and new bricks. Try adding a row each time, so the game
gets longer... then they either get bored or it becomes too much to
handle and end up losing.
- When all the lives are used up, display "Game Over" or
something. *Do not* use end-of-time anymore!
- I added simple mouse functions to anyone who used the keyboard
instead. I want you to use the mouse... write your own function to
handle this.
Here are a few images wo you get an idea of what I had in mind. If you have any questions be sure to ask before it's due!