Question: Using Windows Forms Application C#,create a simple game modeled after the brick-breaking game Breakout where a ball bounces off the sides and top of the
Using Windows Forms Application C#,create a simple game modeled after the brick-breaking game Breakout where a ball bounces off the sides and top of the screen and destroys bricks that it comes into contact with and is kept in play by a user controlled paddle at the bottom of the screen.
- The ball will bounce off the side or top walls
- If the ball comes into contact with a brick, the brick will be removed and the players score will increase by 15 points and the ball will bounce off it
- If the ball comes into contact with the paddle, the ball will bounce off it
- the paddle shouldnt be able to move of the screen
- If the player touches he bottom of the screen, have a text-box pop out saying: " Oh no! Try again!"
- If the player destroys all the bricks, a text box will pop out saying: " Great job! You won!!"
- Regardless of whether or not a player wins or loses they will be asked if they want to play again with a text box saying: " Play again?"
- If the player hits the space bar, restart the game automatically, but if the player hits exit - exit the game
- The bricks would have a colour of red, the ball would be black, the paddle will be white
Write a statement of:
- Outline of the solution should include:
- Proposed inputs
- Proposed outputs
- Form design
- Programming needed to process the inputs to get the desired outputs
- Proposed variables you will need
- Proposed arrays you will use
Include in code:
At least three types of variables (double, integer, string, Boolean)
- Constants
- Selections structures (If statements)
-Loops (for and while)
- Form Controls, Properties, Event Procedures
- Graphics
- Arrays
- Methods (including at least 2 programmer created methods)
- File Input/Output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
