Share your repls and programming experiences

← Back to all posts
turtle.onkey
Muffinlavania (1391)

I think i may have posted this twice.. I don't remember

But here is a little turtle project using turtle.onkey()
Just hit run and the controls will be displayed!

There are also some controls not listed.. Can you find them?

Any suggestions to what i should add to this, I've run out of ideas....

Made by @Muffinlavania and @squidcoder !!

EDIT 5/25/20:
Idk why people like this simple project so much, but thanks for all the support!

Im also going to be adding pictures of peoples creations with this! IF you want me to add your picture to this just say "@Muffinlavania Please add to the post"(or something like that) and i will add your picture!

@johnstev111 's picture!

Commentshotnewtop
Muffinlavania (1391)

Theres some cool stuff you can do with this!

firefish (742)

@Muffinlavania I spent 20 minutes doing this. totally not proud

Muffinlavania (1391)

@johnstev111 gg pretty cool if you want i can put it in my post

Muffinlavania (1391)

@johnstev111 ok then! im gonna do this for other peoples thing s too

firefish (742)

@Muffinlavania if you want to know the orang box is covering the text in my photo

Muffinlavania (1391)

Oh and by the way if you want you can just look at the code for the "secret controls", not very hard to find anyway though..

firefish (742)

@Muffinlavania I thought this was meant to say turtledonkey until I read more

Muffinlavania (1391)

Thanks @Zuhdi28 , @IndyCarter , @ChezCoder , @tsana , @studentAlfredAl !!!!!!
Geeeeeez thanks so much I didnt think this was that good

[deleted]

@Muffinlavania

THIS IS SO GOOD!

Muffinlavania (1391)

Oop i did post this twice whatever

[deleted]

@Muffinlavania wow wow wow wow wow wow!!!!!!!
what a perfect repl
here is a BIG BIG BIG BIG BIG upvote!

HarveyH (170)

Wow, this is pretty neat. That's an upvote from me!

Wilke000 (500)

WOW!!! That is the most amazing turtle repl ive seen since... well, EVER!

studentAlfredAl (435)

This is really good! Keep up the good work! :)

DSAAidan (7)

just holding down q....

Muffinlavania (1391)

@DSAAidan lol also spam c if you want

ZDev1 (691)

Recommended: Add change turtle shape
with:

# Your python code
import random
def changeTurtle():
  turtles = ['turtle', 'square', 'circle']
  shape = random.choice(turtles)
  turtle.shape(shape)

w.onkey(changeTurtle, '`')

Hope this help you ;)

Muffinlavania (1391)

@ZDev1 ? i have a function for this, press y

ZDev1 (691)

@Muffinlavania but it is not in the list...

Muffinlavania (1391)

@ZDev1 lol look at my post i said there are "secret controls"

JBYT27 (373)

WHAT IS THIS????

Muffinlavania (1391)

@JBYT27 yea.. you just spammed 1 right?

Muffinlavania (1391)

@JBYT27 yea people have told me "there is a bug" because they just spam buttons, i really dont care if you abuse the functions

ShivankChhaya (102)

I was poking around in the code and found the secret controls, but when I saw the ctrl(control) control, I pressed it and nothing happened.

Muffinlavania (1391)

@ShivankChhaya

It works for me, i knew tho that some people wouldnt be able to use Ctrl/Alt, because some computers have cmd instead, so yea idk. They really dont do anything useful

ShivankChhaya (102)

@Muffinlavania I can use alt but not ctrl. Maybe for it to work on all computers you could make another function that checks for cmd and does the same function?

Muffinlavania (1391)

@ShivankChhaya thats literally what i was about to do, like word for word