Question
Breakout- this is a java program please type it and paste it , i really need help. This application will create a simple 'Breakout' style
Breakout- this is a java program please type it and paste it , i really need help.
This application will create a simple 'Breakout' style game and explore a bit of the graphics capability in Java.
In the breakout game, a user controls a paddle at the bottom of the screen. The ball bounces off the left, right, and top edges of the screen, as well as the paddle.
When the ball hits a brick, the brick disappears and the ball bounces. The goal of the game is to cause all the bricks to disappear.
Minimum requirements to pass
When the game starts, the ball should move and bounce off the top, left, right-hand sides of the screen.
The game must initialize with at least 3 rows of bricks.
When the ball hits a brick, the brick should disappear
When the ball hits the paddle, it should bounce off
If the ball hits the bottom of the screen, the user loses and the game ends
If all the bricks disappear, the user wins and the game ends.
Requirements for full credit:
The user should get three lives to start. Each time the ball hits the bottom of the screen, they lose a life. When they have used up 3 lives, they lose.
When the user wins or loses, the game should stop and the user should have the option to restart.
Extra Credit:
There are many options for extra credit, please propose if you think you have an appropriate idea. Examples of possible extra credit could include:
When the user "wins", the game resets (except the score) and the ball moves faster than it did before.
Add sound effects and/or music to the game
Add different kinds of bricks. Some bricks may require multiple hits to disappear.
Add level layouts
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started