Skip to content

Conversation

@NathanLovato
Copy link
Contributor

This is another attempt at addressing #1114 without affecting other practices. It's currently incomplete because the possibility to change the position of the turtle anytime without going through jump() needs to be taken into account as well.

@mstphayassin
Copy link
Contributor

@NathanLovato I'm working on an update on this right now and it looks promising so far. Going to double and triple check that it doesn't break any other functionality throughout the app before I create a pull request though.

@NathanLovato
Copy link
Contributor Author

Thank you very much for your contributions! Note that now there is a script included in the latest version that you can use to run an integration test that will automatically test every practice against its solution.

This will ensure that all the practices still pass with the original solution code after changes. Currently it blankets all the practices. You can always modify the script to build an array of the practices that involve the turtle instead to narrow down the test and be able to iterate a bit faster.

To run the test, open this scene in the tests/ folder and run it: integration_test_course.tscn

@NathanLovato
Copy link
Contributor Author

Superseded by #1172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lesson 19 : Rectangles do not overlap (but they do)

3 participants