This is what I've done so far for pset 4 (I've started on main, initPaddle & initBricks)
I have trouble printing out the bricks on the screen from the 2nd row onwards; the window doesn't show any bricks on the screen even with a nested for loop, which I can't seem to get why.
My other problem is the color assignment of the bricks. The result of my code is the 1st 5 bricks on the 1st row are of a different color, while the last 5 bricks are black.
I'm guessing there's something wrong with my nested for loop, but I'm not sure what that is.
Any comments on what needs to improve would be greatly appreciated!
(p.s. Are my problems related to what's shown in GDB when I try debugging it? What does "single stepping until exit from function main ... detaching from fork after child process 8213" mean?)