Get Instant Help From 5000+ Experts For
question

Writing: Get your essay and assignment written from scratch by PhD expert

Rewriting: Paraphrase or rewrite your friend's essay with similar meaning at reduced cost

Editing:Proofread your work by experts and improve grade at Lowest cost

And Improve Your Grades
myassignmenthelp.com
loader
Phone no. Missing!

Enter phone no. to receive critical updates and urgent messages !

Attach file

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Guaranteed Higher Grade!
Free Quote
wave
Assignment: Brick Breaker Game Screen

Setup

The Assignment: Brick Breaker Game ScreenThis assignment is about using variables, data types, user input, loops, if statements, and FX Graphics to draw a simulated screen capture from a game like Breakout or Arkanoid. SetupUse the FXGraphicsTemplate for this assignment. Change the class name to something meaningful and change the window title, and size of the stage to whatever you want.InputWhen your program runs, you should start by having a dialog with the user (don’t show the JavaFX stage until after this dialog is over). Ask the user: 1) how many rows and columns of bricks they want, 2) what the current score is, 3) how many lives are remaining, 4) the x-position of the player’s paddle, 5) the number of balls in play, and 6) the color of the ball, which they can specify using an integer with at least 3 possibilities (e.g. 1=red, 2=blue, 3=green), with a CSS color string, or by entering RGB values.Make sure the user enters values that are legal and will look good (e.g. between 1 and 10 for rows and columns). Tell the user the range in each prompt and make them repeat until they get it right. OutputNow draw the game screen the values entered by the user. You should have a frame around the entire game that is sized to the number of columns of bricks. You should also have a grid of bricks, a score, a graphical representation of the number of lives remaining, the number and color of balls specified by the user (randomly placed), and a player’s paddle

support
close