GDQuest / GDQuest/learn-gdscript

L5: Draw three square practice can be solved without creating and calling a function three times but instead writing all the instructions

Open
#869 0 comments 0 reactions 0 assignees View on GitHub
content
Dominant language
GDScript
Stars
2.8k
Forks
235
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
In lesson 5, draw 3 squares can be solved by just typing:
func draw_three_squares():
move_forward(200)
turn_right(90)
move_forward(200)
turn_right(90)
move_forward(200)
turn_right(90)
move_forward(200)
turn_right(90)
jump(300, 300)
move_forward(200)
turn_right(90)
move_forward(200)
turn_right(90)
move_forward(200)
turn_right(90)
move_forward(200)
turn_right(90)
jump(300, 300)
move_forward(200)
turn_right(90)
move_forward(200)
turn_right(90)
move_forward(200)
turn_right(90)
move_forward(200)
turn_right(90)

Theres no stopping that and i moved on without knowing the correct way to use functions. I think there should be a fail thrown out there to force people to keep trying to get it right.

**To Reproduce**
Steps to reproduce the bug:
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, drag and drop screenshots here to help explain your problem.

**Information about your device (please complete the following information):**
- Operating System: [e.g. iOS, Windows]
- Browser: [e.g. Chrome, Safari]

**Additional context**
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.