Question: I would like to randomly 2D maps like below using java. How would i go about this 0 C C 1 1 1 O O
I would like to randomly 2D maps like below using java. How would i go about this

0 C C 1 1 1 O O 1 1 1 1 1 1 1 1 1 1 1 1 D 1 0 0 1 1 1 1 1 1 1 1 1 1 O D D 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 0 C 1 - 1 0 1 1 1 1 1 1 0 O 1 0 1 1 1 0 1 1 1 1 1 1 1 0 1 0 0 0 0 0 D 0 1 1 1 1 1 1 1 0 1 1 1 0 0 1 1 1 1 1 O 1 1 1 1 1 1 1 0 0 0 D 0 0 0 0 0 0 1 1 1 1 1 1 0 1 1 1 O 0 1 1 1 1 1 1 1 1 1 0 0 0 D 0 0 1 1 1 1 1 0 0 0 0 0 0 1 1 D 1 D 0 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 D 1 0 1 1 1 1 D 1 D 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
