Thanks for the reply, when I ran the code I got the error message
All sorted used this code
After a bit more thought, this;
Traceback (most recent call last): File "shapes.py", line 46, in <module> pg.draw.line(self.screen, pg.Color("red"), start, end, 1) NameError: name 'pg' is not defined
All sorted used this code
for y_offset in range(0, 100, 10): pygame.draw.line(screen, PURPLE, [0, 160 + y_offset], [190-y_offset, 160 + y_offset], 5)To get this result,
After a bit more thought, this;