Hey, I'm having trouble with filling in a line of rectangles with greyscale but in the way that the left most rectangle is white and fades to black, being the right most rectangle is black.
any help?
I have used a for statement to draw the line of rectangles, so the fill is only used once.
Hey I am having problems with my program of moving a square on a grid using the arrow keys. I have everything set up and also the movement working with the keys but the square keeps duplicating each time I would press a key to move it along the grid and I would just like the single square to move on its own.