Can you make a GUI in java that : 1. (game field) randomizes 9 numbers (form 0 to 9) numbers. randomizes n (rows) and collumns(m) ((from 1 to 4)) The result should be a GUI with a n x m matrix of buttons, each button should be a random number form 1 to 9. The idea is after every compile i should get a random arrangement 2. random target value is displayed above game field(100-300) 3. The current sum of the numbers displayed on the buttons of the game field is printed below the game field 4.The number of moves to completion is displayed in the upper right corner above the game field. 5.current mathematical operation - add a component to the right side of the game field that displays the current mathematical operation. The current mathematical operation starts at +, after the first move it should randomize. The current mathematical operation only applies for one move, and after the move a new mathematical operation is randomly selected that will be evaluated in the next move. Choose from the following mathematical operations: +, −, ∗, /. 6. upgrade 5th, the next m mathematical operations are displayed on the right side of the game field, and the current operation is highlighted.
Can you make a GUI in java that :
1. (game field)
randomizes 9 numbers (form 0 to 9) numbers.
randomizes n (rows) and collumns(m) ((from 1 to 4))
The result should be a GUI with a n x m matrix of buttons, each button should be a random number form 1 to 9.
The idea is after every compile i should get a random arrangement
2. random target value is displayed above game field(100-300)
3. The current sum of the numbers displayed on the buttons of the game field is printed
below the game field
4.The number of moves to completion is displayed in the upper right corner above the
game field.
5.current mathematical operation - add a component to the right side of the game
field that displays the current mathematical operation. The current mathematical
operation starts at +, after the first move it should randomize. The current mathematical operation only applies for one move, and after the move a new mathematical
operation is randomly selected that will be evaluated in the next move. Choose from
the following mathematical operations: +, −, ∗, /.
6. upgrade 5th, the next m mathematical operations
are displayed on the right side of the game field, and the current operation is highlighted.
Step by step
Solved in 4 steps with 4 images