Lesson 16 practice 1 moving to the end of the board
Describe the bug During the practice I run into and issue where I use the correct solution but it still errors out
To Reproduce Steps to reproduce the bug:
- Go to 'Lesson 16'
- Click on 'Practice 1'
- Input solution ( I don't know if this was due to me getting it incorrect first)
- See error
Expected behavior Robot move to the bottom of cell grid
Screenshots If applicable, drag and drop screenshots here to help explain your problem.
Information about your device (please complete the following information):
- Operating System: Windows 10
- Browser: Opera GX
Additional context
@DarthBanana0428 I believe you have mixed tabs and spaces in your solution, that might be the issue here.
@DarthBanana0428 I believe you have mixed tabs and spaces in your solution, that might be the issue here.
doesn't work even when resetting the practice session and running the suggested solution
Thanks for the report and thanks @StanleyAlbayeros, you're right, it's the spaces that cause problems.
On my end, applying the solution by clicking the Use Solution button and running does pass the practice.
Note for self: Mixed tabs and spaces seem to prevent our error "translation" layer from kicking in. But testing in other practices, it seems to be specifically in this context.
The GDScript compiler does raise the error mix tabs and spaces. but something else causes an other internal, +/- silent error.
It likely has to do with our loop manipulation/safeguard to prevent infinite while loops that freeze the application.