Question: Create a Java program that simulates a Rubix cube. A 2d version that gives either R for red, or the the block is filled with
Create a Java program that simulates a Rubix cube. A 2d version that gives either "R" for red, or the the block is filled with the color to identify itself within the puzzle.
R R R
R R R
R R R
<> Y Y Y G G G B B B W W W <>
Y Y Y G G G B B B W W W
Y Y Y G G G B B B W W W
O O O
O O O
O O O
If done in 3d, comment on what each line is for and correlates to the whole.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
