Glad you found it. Looks like a common problem from when code is copied and pasted and then modified. There is often a whoops I forgot to change ...
Type: Posts; User: Norm
Glad you found it. Looks like a common problem from when code is copied and pasted and then modified. There is often a whoops I forgot to change ...
We crossed while posting. See my last post for a way to easily see what the code is doing.
For testing I have copied the logic for each set of code and replaced the drawBrick method with a print statement so I can see what values are being used. The code was put into a main method...