Share your repls and programming experiences

← Back to all posts
This is the first game I made!
Orca20 (48)

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!

Commentshotnewtop
CodingRobot12 (186)

@Ocra20 do you want this to be added to my upcoming search engine? This is a good game.

Orca20 (48)

@CodingRobot12 I would love for it to be added! Thanks!

Spitfier720 (19)

How do i use a potion if there's none left?

Spitfier720 (19)

@studentAlfredAl i read the code, it seems that you get a potion by chance. Thanks anyway

Orca20 (48)

@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.

Spitfier720 (19)

@Orca20 thanks, i found out from the code

[deleted]

Nice

seagu11 (5)

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.

Orca20 (48)

@seagu11 thanks for the suggestion! I will try to do that in my future games.

DSAMaximilian (9)

very good and i think you like clash of clans

[deleted]

You should add colors to it, also it is really cool

AryanDhawan (6)

i'm terrible at it
but i lov it

Orca20 (48)

@AryanDhawan i hope you will get better!

pythonorguser (3)

Also allow to press other key presses without an error message

NoNameByProgram (77)

@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.

DhirajBaid (3)

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!

Orca20 (48)

@DhirajBaid Thanks for the suggestion! I'll try...

PythonSwarit (12)

@Orca20 do you want me to display this in one of my display codes, it is upcoming just like @CodingRobot12 search engine

DannyIsCoding (662)

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 :)

Orca20 (48)

@DannyIsCoding Thanks for the advice! I will try to add that in the future.

JamesBanter (2)

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

Orca20 (48)

@JamesBanter I am going to do that in the future soon! Thanks for the suggestion.

[deleted]

@Orca20 Can I please edit the source code ?

NisheshBasam (1)

It would be really nice If you made a car ga

me

SwaroopBappanad (39)

I've been coding for about two years, and this project is more complicated than anything I've ever made LOL.

@Orca20 Great Job!

DSAMaximilian (9)

umm am i the only one who is addicting

Orca20 (48)

Wait if I change the code here will it change for everyone?

[deleted]

I think so @Orca20

eekboi (272)

@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.

[deleted]

Thought so @Funkus

Orca20 (48)

@eekboi oh. Then I'll change this code and then put it in a new post.

eekboi (272)

@Orca20 No, you can just edit the code in the repl in this post.

Thecrowbar1234 (136)

seems kinda repetitive, it doesn't take any thinking

Thecrowbar1234 (136)

@Funkus i can still criticize him

Thecrowbar1234 (136)

@Funkus but i'm not being rude. I simply said it is kinda repetitive and that it doesn't require much thinking

eekboi (272)

@Thecrowbar1234 Alright so, baseline here. Criticism != Being rude.

Thecrowbar1234 (136)

@eekboi ik, thats what i'm saying