DEV Community

Cover image for teach your kids to build their own game with Python - 1

teach your kids to build their own game with Python - 1

Mustafa Anas on November 06, 2019

I used to be a coding trainer few months ago. Our students were former street kids coming from under-privileged societies. You can imagine the lack...
Collapse
 
madebydavid profile image
David Sutherland

This is great!

In your listing at the end I think you might be missing some lines - before the functions:

player = turtle.Turtle()
Enter fullscreen mode Exit fullscreen mode

And a little later, before binding the event handlers:

turtle.listen()
Enter fullscreen mode Exit fullscreen mode
Collapse
 
mustafaanaskh99 profile image
Mustafa Anas

Correct!
thank you for the note

Collapse
 
rozzaygh profile image
Rozzaygh

Great work keep it gonna try soon

Collapse
 
mustafaanaskh99 profile image
Mustafa Anas

second part coming today!

Collapse
 
mustafaanaskh99 profile image
Mustafa Anas

dev.to/mustafaanaskh99/teach-your-...

Sorry for the delay bud <3

Collapse
 
jordancox profile image
Jordancox

This post is really helpful as I'm a teacher in the school and we conduct weekly session about speaking on different topics. I'm also running a blog that help teachers to teach students programming easily, here is blookets.org.

Collapse
 
winkoman profile image
winkoman

In my case (pycharm + linux) I was not able to close the window without "turtle.done()" at the end, just in case somebody else experiences this problem :)

Collapse
 
niklahun profile image
niklahun

Hey!
Nice guide!
Maybe, just maybe we could also focus on writing standard code also?
Please Read PEP8 before you go on with this.
Cheers
Dani

Collapse
 
mustafaanaskh99 profile image
Mustafa Anas

thanks for the suggestion!