learn-gdscript
learn-gdscript copied to clipboard
Lesson 5 Practice 2: Drawing Multiple Squares
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