Skip to content
Sign upLog in
Profile icon

Big Broin

@noway15
95% Gray matter.
Repls
Community
noway15
noway15
shared a Post
1 year ago
1
Um... I need some help with pausing for a set amount of time without stopping the game
Basically I want to make a clicker game, but in Python's terminal. So I need a way to make it wait a set amount of time before delivering the currency
Terminal Game
Python
SixBeeps
SixBeeps
The most common way to do this is through what's called an event loop. A game is typically structured entirely around this loop, and its job is to handle any sort of realtime events. I'd suggest you read up more if you want to familiarize yourself with this model. You might be able to get away with running this loop through a new thread, but honestly it's better to implement it as the core of your game.1 year ago
noway15
noway15
shared a Post
1 year ago
1
Exactly what it sounds like. I know that I need audio from replit, but after that I'm kinda confused on what to do.
FloCal35
FloCal35
Both Coder100 and OldWizard209 (I won't ping them) answered you question but keep in mind that Replit audio in python does not work for people viewing your projects Because they are so new, spotlight pages can't play audio yet. So if you want to post it on the Apps page or if you want to share it with someone, instead of hearing the wonderful audio file, they will see an anoying error that stops the program1 year ago
Coder100
Coder100
yeah, its in the docs, which are a bit hard to access: https://docs.replit.com/tutorials/12-audio1 year ago
OldWizard209
OldWizard209
Its all in the Docs. First import replit and make sure to upload the sound file as .mp3 or .wav . Type this code: from replit import audio import time audio.play_file("download.mp3") time.sleep(10) The time.sleep in the end is there because once the file is executed, repl abruptly stops. So it is there so that the audio can run.1 year ago
noway15
noway15
published a Repl
1 year ago
3
Did you get shot by an MBT
Did you get shot by an MBTI think I'd say that this is useless, dumb, and potentially destructive.
#html
#useless
#dumb
UserInCoding
UserInCoding
ඞඞ AMONG US ඞඞ1 year ago
weeklyd3
weeklyd3
Did I get shot by an MBT? Yes.1 year ago
noway15
noway15
shared a Post
1 year ago
1
To be more specific, I need help with multiplying just the values in dictionaries without modifying the dictionary itself or even changing dictionarie
noway15
noway15
shared a Post
1 year ago
1
I'm working on a smallish program and I've decided to try my hand at the GetKey module. Unfortunately, I've encountered a bit of a problem with the mo
btfuss
btfuss
I think you do: key = getkey() if key.up: #whatever you want Here is a resource: https://pypi.org/project/getkey/1 year ago
noway15
noway15
shared a Post
1 year ago
1
#html
#useless
#dumb
Honestly this was probably one of my dumbest ideas. I basically just made a website that is pointless in every way. Enjoy if you can. Also maybe leave
Did you get shot by an MBT
HTML, CSS, JS
noway15
noway15
published a Repl
1 year ago
0
Big Repl Explore commemoration
Big Repl Explore commemorationThis repl is the first program (well really, the Preface) in my relatively new Stellar Chronicles Python series. I hope you like it.
noway15
noway15
shared a Post
2 years ago
3
Ok guys I've decided to make an RPG in Python But I have a problem. This project is really long and really complicated. So I've decided to reach out a
ChristopherDai
ChristopherDai
Is this still available now? You can check my doodle god project (unfinished) to see my skill tho. I'm waiting for someone else to respond to a project for 3 days now and if he's not going to I'm ok to work with ya. And I have confidence in art too, check https://repl.it/talk/share/DRAWQUIX-Betaor-Art-Editor-Unlimited-Projects/1210032 years ago
HermioneGrange2
HermioneGrange2
hi, so about the project here is an image of the map for our game: (sorry I just can't put images on the chat) Photo on 2-8-21 at 10.05 AM tell me if it's too big, too small, or if I should add something or take away something. I just thought it would be a good way to visualize the different places you can go and the different directions you have to go to get to them.2 years ago
HermioneGrange2
HermioneGrange2
Hi, just so you know I cannot work on weekends.2 years ago
noway15
noway15
shared a Post
2 years ago
1
The name of this post pretty much says it all, but here's a quick recap. This program is very annoying. Please don't wake it up. Most choices will lea
The Most Annoying Program Ever
Python
noway15
noway15
shared a Post
2 years ago
1
I already know how to make it so that each letter appears individually, but not for questions. Can anyone help me with that?
RYANTADIPARTHI
RYANTADIPARTHI
Solution try this way. scroll('question ? ') something = input() print(something) `2 years ago
Coder100
Coder100
with input? Just specify an empty input. Like this! typewriter("your prompt here: ") thing = input() print(thing) `2 years ago
InvisibleOne
InvisibleOne
You can't with input, however, you could just do this: #using my other function scroll_print("What is one plus one?") i = input() if i == '2': print("Yay, you are right!") `2 years ago
noway15
noway15
shared a Post
2 years ago
1
I'm relatively new here, so could someone help me out? I'm trying to create a project but not sure how to make the text gradually show up instead of j
noway15
noway15
Well I have 3 different answers, so I guess I'll try each of them out and see which is best.2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
Solution Try this. import sys import time for x in "Something": sys.stdout.write(x) sys.stdout.flush() time.sleep(0.05) like that. that should work2 years ago
bottlesandcaps
bottlesandcaps
@noway import sys import time def scroll(str, speed=0.03): for letter in str: sys.stdout.write(letter) sys.stdout.flush() time.sleep(speed) print() scroll("what you want to appear type in here") `2 years ago
noway15
noway15
shared a Post
2 years ago
1
Ten math problems, times you and does highscores.
FlaminHotValdez
FlaminHotValdez
There's a bug at the end. % name name is undefined, think you mean name = input("What is your name?")2 years ago
noway15
noway15
shared a Post
2 years ago
1
This is the story of a professional gambler, YOU! Unfortunately, your luck will go down the toilet once you've played this just once.
Rigged Dice
Python
noway15
noway15
I know but like I am only a beginner at this and I am not really sure how I add a win statement.(:(2 years ago
Coder100
Coder100
Lol There is a 1% chance of you winning if you cheat :p Why have you not added a win statement?2 years ago