donkirkby / live-py-plugin

Live coding in Python with PyCharm, Emacs, Sublime Text, or even a browser
https://donkirkby.github.io/live-py-plugin
MIT License
291 stars 57 forks source link

Simple turtle methods #350

Closed donkirkby closed 2 years ago

donkirkby commented 2 years ago

There are a few turtle methods that aren't implemented by MockTurtle:

Read the documentation for the standard methods and implement them.

yonMaor commented 2 years ago

Hey, can you eleborate further on this issue? I might be able to help here

donkirkby commented 2 years ago

Sure, @yonMaor, thanks for your interest in helping out. A collaborator recently went through all the methods described in the turtle module, and sent me a list of the ones that we haven't implemented yet. These three look like the simplest to start with.

Follow that link and read the description of what they're supposed to do, then take a look at the MockTurtle source code to decide how to implement them.

To test out your idea, follow the instructions in the CONTRIBUTING.md file in the root directory for PyCharm development. Let me know if you need any more guidance.

donkirkby commented 2 years ago

Good news, the fix for #353 also fixed part of this issue. filling() is still missing, though.

donkirkby commented 2 years ago

Sorry to steal this issue from you, @yonMaor, but the filling() fix came for free when I removed a bunch of overrides for #353 in commit 2b61e97acddfcb67ff749d733cf259759ba24d91.

If you're still interested, #348 is a good one to start on.