Skip to content
← Back to Community
Adventure Game Battle Simulator With BONUS Versions!
Profile icon
MikeW3

Edit: why is this getting so popular all of a sudden. Also, why is everyone playing the Player vs Player one instead of the AI vs Player? The AI vs Player one is probably better.

This repl (it has 100+ lines of code) is a battle game in python inspired by text adventure games and I added some special twists to it. You can use this as a template if you are making your own adventure game. The standard version is player vs AI, but there are other versions too! You first enter a seed, which can be a number or a word. Note: This seed is hashed so entering it on two different runs will not yield the same result. You then enter Attack or Heal when it is your turn, or Defend or Counterattack if your opponent attacks. Note: Healing when you are in high health will not increase your health by a lot.

BONUS

You can try the Player vs Player one.

Test the AI vs AI one. On the topic of that, I also announce a CONTEST to make an AI that consistently beats the original AI I wrote.
Note: the two bonus ones may not be as well designed as I spent most of my time on the main one.

Enjoy 😁, and feel free to fork, or comment!

If you liked this game, please check out my other posts, especially this one which I worked really hard on.

Voters
Profile icon
SandeepDSouza
Profile icon
TheRealJohnnySins
Profile icon
DEMIROZDEMIR
Profile icon
ArnavMenezes
Profile icon
Carlos2B
Profile icon
BradleyAlbright
Profile icon
ThomasOgunjimi
Profile icon
vbsubru
Profile icon
MikeW3
Profile icon
LordPython404
Comments
hotnewtop
Profile icon
EVANHUANG5

nah

Profile icon
fazegirl2022

hi l love what you made

Profile icon
NathanOrtiz

I Dieeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed

Profile icon
C0deBr3ker

This is a good game