This is the first game I made!
I hope you enjoy my game! You can go fight lots of zombies, skeletons, and trolls! Drinking a potion will give you some health, and every time you win a battle there is a 30% chance that you will get a potion!
How do i use a potion if there's none left?
you don't @Spitfier720
@studentAlfredAl i read the code, it seems that you get a potion by chance. Thanks anyway
@Spitfier720 you can't use a potion if there's none left. After every battle, there is a 30% chance that you will get a potion.
oh, my bad lol 😅 @Spitfier720
@Orca20 thanks, i found out from the code
@studentAlfredAl No problem
noice
Excellent love it
@minjijeong thanks!
Nice
@GoofyGus thanks!
Np @Orca20
This is really cool. It would be a tiny bit cooler if the enemy dealt it's marked attack damage, and had a chance for critical, in which case it would say that it was a critical, and it would deal higher damage.
@seagu11 thanks for the suggestion! I will try to do that in my future games.
bruh
very good and i think you like clash of clans
@Orca20 and brawl stars
You should add colors to it, also it is really cool
i'm terrible at it
but i lov it
@AryanDhawan i hope you will get better!
Also allow to press other key presses without an error message
@pythonorguser I'll try later
@MohantyJagadish Maybe even a while loop?
"while not user_input == 1 and not user_input == 2:"
I wouldn't recommend this, since it takes too long to write.
@pythonorguser
Welp, I guess you forgot to put an integer.
@MohantyJagadish It shows this:
I have a suggestion that use replit.clear everytime they add a input do the terminal is not flooded with inputs and prints
import replit
#code here
replit.clear()
now run functions!
@DhirajBaid Thanks for the suggestion! I'll try...
@Orca20 do you want me to display this in one of my display codes, it is upcoming just like @CodingRobot12 search engine
This is nice. You could add colours to the text (for ex.: your health is green and enemy health red or damage is red or something) and maybe after you defeat the enemy/lose when you press enter you clear the screen so the screen is less crowded. Still a great game :)
@DannyIsCoding Thanks for the advice! I will try to add that in the future.
seems cool just pressing enter when a enemy apears does cause a error might want to fix but apart from that pretty good game can't wait for leveling up and scaling enemies to your level will probably be the next step
@JamesBanter I am going to do that in the future soon! Thanks for the suggestion.
@Orca20 Can I please edit the source code ?
It would be really nice If you made a car ga
me
I've been coding for about two years, and this project is more complicated than anything I've ever made LOL.
@Orca20 Great Job!
umm am i the only one who is addicting
Wait if I change the code here will it change for everyone?
I think so @Orca20
@Orca20 No that does not work. People could abuse it heavily if so. Plus a fork is your own repl that has nothing to do with the original repl other than it's the same code.
Thought so @Funkus
@eekboi oh. Then I'll change this code and then put it in a new post.
@Orca20 No, you can just edit the code in the repl in this post.
seems kinda repetitive, it doesn't take any thinking
@Thecrowbar1234 but it's his first game.
@Funkus i can still criticize him
@Funkus but i'm not being rude. I simply said it is kinda repetitive and that it doesn't require much thinking
@Funkus thats really soft
@Thecrowbar1234 Alright so, baseline here. Criticism != Being rude.
@eekboi ik, thats what i'm saying
@Ocra20 do you want this to be added to my upcoming search engine? This is a good game.
@CodingRobot12 I would love for it to be added! Thanks!
yeah I added it @Orca20