Skip to content
Sign upLog in
Profile icon

Alex Alex

@Four_Of_Clubs
  • Main

    Cover page
    Made with Python
    Recent comments (0)
Repls
Community
Four_Of_Clubs
Four_Of_Clubs
shared a Post
3 years ago
1
Numeral to Word Converter
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
NumberTranslater
Python
Four_Of_Clubs
Four_Of_Clubs
shared a Post
3 years ago
1
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
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
Four_Of_Clubs
Four_Of_Clubs
shared a Post
3 years ago
1
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
SpectacularMundaneProfessional
Python
MATTHEWBECHTEL
MATTHEWBECHTEL
Good luck. @FourOfClubs3 years ago
Four_Of_Clubs
Four_Of_Clubs
shared a Post
3 years ago
13
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
PaoloAmoroso
PaoloAmoroso
They are hopefully not called Replicants :-)3 years ago
ebest
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. haha3 years ago
SPQR
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 REPL3 years ago
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
1
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
Random color thingy
Python (with Turtle)
E-Sheep
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.2 years ago
Geocube101
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
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
2
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!
Experimental
Python (with Turtle)
John_WardWard
John_WardWard
@FourOfClubs I can't move or shoot at the moment, although I understand it's experimental.4 years ago
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
1
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
WarmLittleScientists
Python
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
2
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
Turtle Onslaught
Python (with Turtle)
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
3
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
Experimental 2
Python (with Turtle)
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
5
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
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)2 years ago
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
2
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
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
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
5
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
Spikes 2p
Python (with Turtle)
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
1
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
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
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
2
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
Falling Spikes 2 (hard)
Python (with Turtle)
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
3
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
Falling spikes 2
Python (with Turtle)
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
1
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
Falling Spikes
Python (with Turtle)
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
22
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
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.1 year ago
fabianbergstrom
fabianbergstrom
has anyone found a solution to this problem yet?2 years ago
kpetzak
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
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
2
I hope your day has been amazing and that tomorrow will be even better!
Hope you have a lovely day!
Python (with Turtle)
Logimite
Logimite
WAT4 years ago
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
3
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
Tet's Game
Python
Four_Of_Clubs
Four_Of_Clubs
shared a Post
4 years ago
26
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
First Adventure
Python
Steven_The_GuyT
Steven_The_GuyT
Eyyyy, I won! Wow, it took me 5 min. I loved playing it!3 years ago
mkhoi
mkhoi
This is like a point and click game but with text instead4 years ago
BestBerry
BestBerry
/error/4 years ago