+ 1
in your block function, line 19 and 21, the for loops should be : for(int i=r;i<r+3;i++){ for(int j=c;j<r+3;j++){ ..... I replaced i<i+3 and j<j+3 by i<r+3 and j<r+3
10th Apr 2020, 8:34 AM
John Robotane
John Robotane - avatar