Babbel Gaming
@Babbel
2
This program shows how Bresenham's line algorithm (extended for gradients) works.
If you want to see my color circle (which is basically the same pro
Python (with Turtle)
4
1
Do you know any good resources for learning C++? They can be in english or german. I prefer free resources, because i don't know if i'll have the time
CODER34352 There is a website called w3schools it is a great website it helps me so much, and hopes it helps you!1 year ago
1
Why do I get this error sometimes?
ExternalError: TypeError: /\((.*)\)/.exec(...) is null on line 2
The first two lines are
import random
import time
hannahbajhau1 ExternalError: TypeError: Cannot read property '$speed' of undefined on line 31 year ago
CoolqB Python (With Turtle) doesn't use the normal version of Python you're used to, instead it uses Skulpt, which is a remake of Python which runs in the browser.
Could you point me to the repl producing this error? I have a feeling this error isn't generated from line 2.4 years ago
3
Drag the black circle around and see what happens.
[SPACE] = Change color
[Q] = Quit
Post your screenshots in the comments.
Python (with Turtle)
5
My new text-based game!
Achievements will be added soon!
If there are any bugs, please report them in the comments!
Press ENTER to continue
Python
PowerCoder Oh my gosh I can't believe I just sat here pressing enter 2007 times, I spamed however3 years ago
ThisScript8Me you can hold down enter and it spams the counter maybe add a mili second delay or something
so...
import time
time.sleep(.1)
you can figure out a time :)
4 years ago
RyanRana Cool game but it has a problem, you need create a way so that you can not spam, also when you do that it glitchs but try to create a way.4 years ago
1
Here's the world's first currency converter! (Kappa)
And here's a lonely dot -> .
Now go enjoy the converter! The dot doesn't like being wat
Python
4
Hi guys!
Here's a Base64 Encoder and Decoder I created.
(Base64? Can you eat that?)
Since it's easy to use, I haven't written any examples. But if
Python
PYer How did you manage to use the replit module? When I try it says that there is no replit module.4 years ago
21natzil You forgot to add the "=" to the end, not sure how important that is, but python's base64.b64encode does it.4 years ago
Corsaka Never would've thought of using replit.clear() and a break. I personally use sys.exit(), but yours is a much cleaner and faster method. Take my updoot!4 years ago
1
Hey guys!
I made a Double Transposition Encoder and Decoder with Python!
(Whuzz that?)
Note: Examples are in the code.
Nothing more to say, I thin
Python
1
Note:
The test results are not very accurate! (Read the code comments for additional information)
Tell me your best result in the comments! :)
Python (with Turtle)
6
Just finished my Brainf**k interpreter, yay! :D
I hope you like it!
BF tutorial: https://learnxinyminutes.com/docs/bf/ (don't worry, it's easy to le
Python
2
I wanted to create a small turtle game.
But if I try to change the shape size I get an error:
Turtle Error
Is the interpreter broken or is there anoth
kowusu Python with pygame seems to work better with turtle than python with turtle. Although adding the '=' works, I still had issues. However, with the pygame library, turtle had no issues.1 year ago
ColePete @Babbel I think I fixed it!
import turtle
s = turtle.Screen()
t = turtle.Turtle()
t.shapesize = (2, 2)
All you had to do was add an = sign2 years ago
E-Sheep turtle.shapesize()does exist, but I don't think you could do that in REPL for some reason. You can try screen=turtle.Screen() and then type in the coordinates of every angle in the shape using registershape. For example screen.registershape((10,10),(-10,10),(-10,-10),(10,-10)) will create a 20x20 square. With that you could create bigger shapes.2 years ago
3
Just finished my small sideproject. This application lets you generate mono- and bisyllabic random names for your puppy. Blue names are male, purple n
Python
timmy_i_chen For me it outputs:
Current thread 0x00007f33c02b8700 (most recent call first):
File "python", line 5 in read_file
File "python", line 8 in read_file
File "python", line 8 in read_file
File "python", line 8 in read_file
File "python", line 8 in read_file
`4 years ago
4
Note: This is not a question, but I didn't know where else to post that.
As far as i know, there is no place yet where people can make feature reques
samuelbeep I'm building a small CLI with rustlang, and I have a build.bash file that runs the multiple commands needed to build the app. I think it would help if there was a way to define custom scripts, like in the .replit file, that would register the command. Like a makefile, but built in.2 years ago
timmy_i_chen Feature requests should go to our feedback boards not your fault at all, as its completely separate - simply because the boards we use there give us more management tools (such as status/progress, etc) that we normally wouldn't need on a regular forum such as this one. :)4 years ago
5
I'm trying to use the Textblob library. After installation, it says that I need to download the Textblob corpora in order to use it. The required comm
5
https://repl.it/@Babbel/JavascriptMagicalIf
This code shows how (a==1 && a==2 && a==3) can return true.