- /
- 
        [GAME] - Find the green Creeper at RANDOM - Give it a try!
        on 10 Oct 2021
        
        
 
    - 44
- 62
- 0
- 0
- 268
c={'k','g','b','r','m','c','y','w'};
figure(color='k')
x=randperm(55);
t=0;
for k=1:9:99
for p=1:21:99
    t=t+1;
for i=reshape([4
    5
    9
    6
    7
    9
    0
    15
    15
    11
    12
    11
    8
    2
    2
    1
    2
    1
    20
    2
    2
    3
    3
    3
    1
    0
    0
    0
    0
    0],6,5)'
    u=1;
    if i(5)
        u=rem(x(t),6)+3;
        if x(t)==9
            u=2;
        end
    end
    rectangle(position=i(1:4)+[k
        p
        0
        0],FaceC=c{u});
end
axis equal off
end
end


 

 
             
             
             
