Alex Alex
@Four_Of_Clubs
I spent a good portion of my school day today creating and bug-fixing this. It takes a random number and spits out it's English form, though you can c
Python
So when I'm in a repl I can hold ctrl+shift and press up or down, it creates duplicates of the text cursor (black flashing line thingy). These duplica
mwilki7 That's part of the repl environment. You can see more hotkeys if you right click in the editor and click "Command Palette"
image3 years ago
Enter a phrase, then a key. The text will be 'rotated' by the key, giving you an encrypted set of characters. They will be decrypted once using the ke
Python
Reddit has Redditors, but what about Repl?
Are we Repelers? Replers? Just the general "Coders"?
There might already be an official answer to this ques
ebest Guess what! I just changed the name that @21natzil (the weekly Repls person) here: Suggestions and questions. Replitears, but I don't know if he's going to use it. I hope he does tho. haha4 years ago
SPQR i think that replers or replists or replators or replologists or reploids or replees are all good options. However my personal favorite is
CHILDREN OF THE REPL4 years ago
I was playing around with colors and the onclick() function in Python Turtle, but I ran into something I don't understand. I was trying to create a us
Python (with Turtle)
E-Sheep It could be because if you click multiple times when the onclick function is still running, it runs again and gets itself confused.I suggest using turtle.tracer(0) and turtle.tracer(1) before and after the function so it runs faster and hopefully decreases the chance of that happening.3 years ago
Geocube101 To be honest, I don't know what I did. I just typed some stuff. You can look over it to fix anything. I spam clicked and no lines appeared so here you go.
New Code: https://repl.it/@Geocube101/Ask-GregariousMasculineLight4 years ago
A rough concept, but fun to make.
Move with wasd and shoot with space. Hit each turtle 3 times before it gets past you to earn points.
Hope you enjoy!
Python (with Turtle)
John_WardWard @FourOfClubs I can't move or shoot at the moment, although I understand it's experimental.4 years ago
Input either an atomic number or an element's abbreviation to have the other displayed along with the charge and electron configuration. The charge do
Python
Use ASWD and space to move and shoot the falling turtles out of the sky before they get past you in this 'Space Invaders' inspired game. If there are
Python (with Turtle)
A simple game with 2 players. Move with ASWD or the arrow keys and shoot with 'f' and 'ctrl' respectively. If there is any advice or changes you would
Python (with Turtle)
I don't know much about Python or coding in general, so this could just be some ignorance on my part. Disclaimer out of the way, I cant seem to use th
E-Sheep Try this:
screen=turtle.Screen() create screen turtle
turtle.setheading(90)
def up(): create function for onkey
turtle.forward(40)
while True:
screen.onkey(up,"Up") screen.onkey(function,key)3 years ago
So, in Python Turtle, you can use something like getkey() to ask for an input, however if you hold down a button it ignores it the second time through
pyelias getkey() detects keypresses, so holding keys will trigger it like repeatedly pressing keys. You might have better luck with onkeypress or onkeyrelease (although I'm not sure if they'll work in the JS imlementation Python turtle uses.)4 years ago
One player uses ASWD and the other uses arrow keys to move around and collect tokens that match their color. You also have to avoid the dangerous spik
Python (with Turtle)
Is there anyway to have a turtle move left and right without turning them? I know you can use the goto() function, but is their another way similar to
Geocube101 No (At least that I know of), however you could make your own function
Here is a site on python turtle: https://docs.python.org/3.3/library/turtle.html?highlight=turtle4 years ago
This is basically just a more difficult and slightly rougher version of the 'Falling Spikes 2' game I already shared. As always, any feedback is welco
Python (with Turtle)
Your goal is to move around to avoid red spikes while collecting green tokens. At the end, the console will tell you your score. If you have any advic
Python (with Turtle)
Your goal is to move back and forth to avoid red spikes while collecting green ones. At the end, the console will tell you your score. If you have any
Python (with Turtle)
I want to change the size of my turtles in python, but can't seem to figure it out. I've tried " turtle.resizemode("user") " which returns an error, a
kowusu Using python with pygame (instead of python with turtle) seems to solve the issue. So if you put the same turtle code that works on a regular IDE into python with pygame, there are no longer any issues with shapesize and resizemode.2 years ago
kpetzak So, repl.it uses an open source technology called Skulpt to run Python code in a browser.
http://skulpt.org/
It seems repl.it communicates with Skupt through an API. I found the Turtle API documentation here:
http://www.pythononline.ch/pyonline/progs/doc/skulptturtle.pdf
If you look through the API documentation you will see that the turtle.shape method is included, but some of the other sizing methods like turtle.resizemode & turtle.shapesize are not included in the documentation. This is w3 years ago
I hope your day has been amazing and that tomorrow will be even better!
Python (with Turtle)
This is kinda just a collection of some of the things I've made turned into a game. I'm pretty new to python and eagerly await any feedback and advice
Python
This is my first adventure game as a beginner in python and coding in general. Any feedback or advice is appreciated, but I just wanted to share!
Edi
Python