learn-gdscript icon indicating copy to clipboard operation
learn-gdscript copied to clipboard

Lesson 5 Practice 2: Drawing Multiple Squares

Open LbZ7777777 opened this issue 8 months ago • 0 comments

Describe the bug The practice accepts a solution that draws infinite squares as correct.

To Reproduce I used the following function in the practice problem.

func draw_three_squares(): var count : int = 0 while count < 3: draw_square() jump(300, 300) # count += 1

Expected behavior When I forgot to increment my counting variable, I expected to fail the lesson, but it passed me.

Information about your device (please complete the following information):

  • Operating System: Windows
  • Browser: Chrome

LbZ7777777 avatar Apr 27 '25 21:04 LbZ7777777