Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🖊️Turtle will not move when forward or turn is used without variable #5639

Open
AnneliesVlaar opened this issue Jun 30, 2024 · 1 comment
Assignees
Labels
language Issues related to the Hedy language

Comments

@AnneliesVlaar
Copy link
Contributor

Language idea incl level
In level 1 (until 18) the turtle moves and turns even when there is no variable put after the commands. For example:

turn
forward
turn
forward
turn
forward
turn
forward

will create a square although I would expect it to not work.

Additional context
I think there are two possible behaviours that suite this example code. It raises an error (expected something after forward/turn) or the turtle will turn 0 or move forward with 0.

@AnneliesVlaar AnneliesVlaar added the language Issues related to the Hedy language label Jun 30, 2024
@Felienne Felienne self-assigned this Jul 1, 2024
@Felienne
Copy link
Member

Felienne commented Jul 1, 2024

Ah good catch @AnneliesVlaar!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language Issues related to the Hedy language
Projects
Status: No status
Development

No branches or pull requests

2 participants