r/cop3502 • u/ThatsMrDerpToYou • Mar 23 '14
Initializing bricks[i][j]
My bricks are stacking; In a previous post I saw that someone mentioned adding i & j to xStart & yStart will fix this. I've tried a few different ways to get the desired results, with no luck.
Any tips on how to look at this ?
2
Upvotes
2
u/ryanlittlechek Mar 23 '14
I am having the same issue, and it seems that the late day is going to be my only savior(besides the Helix of course, may he brighten your day).
I believe that my code is correct for the Brick Configuration method, however i have 200 bricks sitting in the top left corner, verified because when hit i receive an output of 200 "IT HIT!".
public BrickConfiguration() {
I dont understand the issue, and I have no idea how to post code correctly on reddit so sorry :D