Skip to content
Sign UpLog In
Profile icon

HappyLunchBox

@HappyLunchBox
Hello!
Repls
Community
HappyLunchBox
HappyLunchBox
published a Repl
2 years ago
0
Eureka! A Math Game
Eureka! A Math GameA interactive math game
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
#python
Have you ever wanted to learn math in a fun way? Do you want to play RPG and still learn math? Try Eureka! A math game. In this game, you can fight m
Eureka! A Math Game
Python
jeffchef
jeffchef
What is the hack?2 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
Welcome to Eureka! A Math Game. This is an arena text based math game. In this game, you can: Battle Monsters Gain Coins Buy weapons and armor in the
Eureka! A Math Game
Python
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
This error came when I tried to has. Reentering the username and password always returns not a valid account even though it should be valid. Please an
Squirrel777
Squirrel777
Your code does not save the username and password, to do so use a database to save the user's username and password!2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
it's because i don't think your code actually saves the passwords, and account. Try using repl db.2 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
In a Brute Force Password Hacker I'm making, I want to let the machine try two letters AFTER one letter words. How would I do this? btw I don't want t
robowolf
robowolf
What I did when I made one of these, I made a while loop with a system to detect when one letter words were done. You can either try if len(guessed) == len(chars)number:#number would make sure that it updates itself dependent on chars already guessed number+=1 # make number directly affect the amount of chars guessed or you can look at this for some help2 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
I accidently did a logout thingy on the other ask, didn't know what it would do so now I want to ask a question: How to edit your post after you submi
HappyLunchBox
HappyLunchBox
@moderation someonde delete this post: https://repl.it/talk/ask/Editing-Posts/1147202 years ago
programmeruser
programmeruser
Turn off images in your browser then edit the post.2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
@HappyLunchBox then there is no other way to do it. if you have a logout image.2 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
This may sound silly, but how do you edit a post you made?
HappyLunchBox
HappyLunchBox
logout image btw click this (lol)2 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
int health; int damage; double crit_chance; int power_up; public Wizard(int health, int damage, double critchance, int powerup){ this.h
programmeruser
programmeruser
.2 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
My Python tutorial :) What you are going to learn today comments and printing variables and anything I can fit into this tutorial You should try this
HappyLunchBox
HappyLunchBox
oops comments are actually #comment I forgot to add that for some reason2 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
I have a question, i'm using aguy11's tutorial of making a coding language. Do an of you guys know how to make functions in a coding language made in
programmeruser
programmeruser
Invite me to the repl.2 years ago
CodeLongAndPros
CodeLongAndPros
Uhh that depends, for asm compile it somewhere and add a jmp2 years ago
NoNameByProgram
NoNameByProgram
Can you link the tutorial you are using?2 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
Here are some definitions I made yesterday (before watching christmas movies and all that). You can use some for inspiration. The prime number checker
methods for use (java)
Java
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
So yeah, I started with python, and I just started my java classes today. Here is a little project I made. It's just a basic guess the number game.
Number Trainer
Java
phantomlord45
phantomlord45
its doesn't make any sense and I still don't know the number and add like go lower or higher2 years ago
tussiez
tussiez
Nice!2 years ago
AustinCharb
AustinCharb
come check out my repl! please upvote https://repl.it/talk/share/Christmas-Countdown-in-Python3/1113372 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
I was bored, so I made a clicker game with python (I don't know much about HTML right now) This is version 1. Enjoy! Rules: Press ENTER to earn money
clicker game
Python
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
Do any of you guys know how to do multiplayer in python? I'm trying to make a Mr Beast thingy that Coder100 made with python, but how does he do multi
RYANTADIPARTHI
RYANTADIPARTHI
Try this link: https://www.raywenderlich.com/2614-multiplayer-game-programming-for-teens-with-python-part-12 years ago
Coder100
Coder100
I made a mr beast thingy?2 years ago
nicholasBolen
nicholasBolen
I don't think the script you found on stack overflow will really help you much. You should try looking into repl auth some (repl.it's login/authentication system) and then work from there.2 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
I am making a among us game, and this error happened when I was testing it: Oof i wish there was a program that used some english syntax like a eq
RYANTADIPARTHI
RYANTADIPARTHI
It looks like you are importing main as m You are supposed to import the name of the function, or class. Not a file name.2 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
Does anyone know how to make an AI chat? (like actual AI, not if statements?)
RYANTADIPARTHI
RYANTADIPARTHI
Ai is really hard to work with, but i think you can make that, even though, it's not visual most of the time. 2 years ago
Baconman321
Baconman321
That is really hard, a lot of time it would have to be if then statements. In fact, most of the "AI" is in 3d/2d graphic (by graphic I mean visual, not text games). It would be hard to do text. I recommend you have your own scenarios, pick a random number, then put up that scenario based off of that number.2 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
I am starting a among us game, and for some reason it says maximum recursion depth when I run it.... Please help!
SUHASTADIPARTH1
SUHASTADIPARTH1
You have to take out the a('') on line 19 You have that error, because you are calling the function too many times, past the python limit. You are exceeding the limit. Screenshot 2020-11-07 at 12.03.37 PM Screenshot 2020-11-07 at 12.03.23 PM2 years ago
DynamicSquid
DynamicSquid
Here's your problem: def a(t): for l in t: sys.stdout.write(l) sys.stdout.flush() time.sleep(random.random()*10.0/typing_speed) a('') You've stumbled upon recursion. That means you're calling a function from that function. A simple example is this: def recursive_function(): recursive_function() That function will never stop running since it keeps calling itself over and over again. What is your a() function supposed to do?2 years ago
Coder100
Coder100
image Here you go! Line 19! Your function would call itself again and then it would print '' and then call the function again trying to print '' and again... So, the solution is to change your code to: def a(t): for l in t: sys.stdout.write(l) sys.stdout.flush() time.sleep(random.random()*10.0/typing_speed) print('') `2 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
I made a chatbot! (it's not AI, i'm currently learning AI right now). Hope you enjoy! :)
DynamicSquid
DynamicSquid
Cool!2 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
I am going to start coding another RPG battle game! I need a team that is intermediate at python. Requirements: Know classes and global variable and t
Dylan-Pusilo
Dylan-Pusilo
Hey, @HappyLunchBox, I created a team called Terminal Reality, where we make terminal games. I know, it's a clever name. But anyway I was wondering if you'd like to join.2 years ago
adsarebbbad
adsarebbbad
can i join?2 years ago
HappyLunchBox
HappyLunchBox
shared a Post
2 years ago
I posted a question earlier about this, and someone said to use global variables, but now I am getting syntax errors.
Dylan-Pusilo
Dylan-Pusilo
Don't use the global keyword outside of functions2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
You need to name the global variables at the very beginning of wherever you're starting. Please mark my answer if this helps. Thanks!2 years ago