Skip to content
← Back to Community
Battle Game Made With Python
Profile icon
ruiwenge2

You can choose your own character to battle the computer's character.

Important: Please answer with the correct case or it won't understand you.

How to play

You can either choose your character or get a random character.
When it's your turn, you choose a move. The move will either do damage to the computer's character or heal itself.
The computer will choose its own move.
The character who doesn't have any more health loses.

I have updated this game so that you can be both the hero or the villain.

If you like this game, you can take a look at my Word Ping Pong Game.

Voters
Profile icon
ruiwenge2
Profile icon
jennii1020
Profile icon
PeLmEn653
Profile icon
LoganHudson
Profile icon
SomeOSCMember
Profile icon
MichaelGuidice
Profile icon
IanBorthwick
Profile icon
jking12
Profile icon
VincentPalazzol
Profile icon
NeelPlayzGuitar
Comments
hotnewtop
Profile icon
WilliamLindenbe

For all of your case-sensitive equations, use the

.lower()

for example:

elif answer.lower() == 'r':
Profile icon
Whippingdot
Profile icon
AsherVinson1

dude, i love it! its so fun to play, and its made in python, my favorite language!

Profile icon
ruiwenge2
Profile icon
AsherVinson1

@ruiwenge2 do you want to join my team? just wondering

Profile icon
nbbcsf

@AsherVinson1 that's because python is super easy

Profile icon
langcao

@ruiwenge2 you can use if character.lower() == 'modevort' or stuff like that to make it understand all cases

Profile icon
JWZ6

@nbbcsf Python isn't easy

Profile icon
nbbcsf

@JWZ6 lol compared to other languages (Java, C++, BrainF (jk)). That's why all beginners you Python.

Profile icon
JWZ6

@nbbcsf Um I'm no beginner

Profile icon
SleepySid

@JWZ6 w h a t

Profile icon
JWZ6
Profile icon
SleepySid

@JWZ6 btw your profile looks cool

Profile icon
JWZ6

@SudhanshuMishra thanks so much

Profile icon
SleepySid
Profile icon
JWZ6
Profile icon
SleepySid

@JWZ6 : )

Profile icon
JWZ6

@SudhanshuMishra :) btw just got ya 230

Profile icon
SleepySid

@JWZ6 Thnx :D

Profile icon
JWZ6
Profile icon
Parchin

@AsherVinson1 YEs of course!

Profile icon
Whippingdot

bruh um python is easy compared to C++ and all @JWZ6

Profile icon
JWZ6

@Whippingdot ik but like it is kinda hard in my opinion, linking all those stuff, Django, flask etc

Profile icon
FlaminHotValdez

@JWZ6 the syntax is super simple and easy to understand

Profile icon
JWZ6

I mean for some people maybe, but I’m not that guy so yeah... @FlaminHotValdez

Profile icon
AsherVinson1

@JWZ6 true, i have a hard time creating different projects other than a python rock paper scissors! lol

Profile icon
codingjlu

@JWZ6 well if you're no beginner you should know.

Profile icon
JWZ6

@codingjlu i mean, i do know. it's just im not so gud with it. like yeah

Profile icon
codingjlu

@JWZ6 ooh exactly 400 cycles!!

Profile icon
JWZ6

@codingjlu lol thx

Profile icon
JACOBOBRIEN2

@AsherVinson1 yea its awesome

Profile icon
P0GCHAMPB0i
Profile icon
ruiwenge2

@P0GCHAMPB0i what is that?

Profile icon
P0GCHAMPB0i
Profile icon
[deleted]

nVidia card stuff @ruiwenge2

Profile icon
P0GCHAMPB0i

@GaneshaSharma GRRRRRRRRRRRRRRRRRRRRRR

Profile icon
[deleted]
Profile icon
LaneMartin

@P0GCHAMPB0i who da hek putcrazy zalgo text here?

Profile icon
firefish

@P0GCHAMPB0i no [zalgo removed]

Profile icon
ThanhTails

@P0GCHAMPB0i what is this?

Profile icon
[deleted]

@P0GCHAMPB0i , unicode comment. It got took out by the moderators.

Profile icon
P0GCHAMPB0i
Profile icon
P0GCHAMPB0i
Profile icon
JackFranzel

Is it set up so the computer is bad?

Screenshot 2021-05-03 18.21.50

Profile icon
ServeurChef
Profile icon
IsaacIsAwesome

I have to say, this game was very well made. Voldemort seems to be amazing at healing since creating Horcrux gives a lot of health, but Spiderman seems to be a good set up attacker, as using think a lot could be dangerous. Pikachu/Raichu, though, is a very broken character, as it can easily heal by evolving or devolving because of how its hp resets back to 100. Pikachu/Raichu block is also really good since it heals and damages at the same time. Overall, this game was really fun to play and addictive too. If only I had the skills to do something like this...

Profile icon
ruiwenge2
Profile icon
DrPogtato

Hi, me and my friend both loved this game and the fact that it's in the only language we know made us want to take the game and enhance it. The two of us started working on adding polish to the game and did a bunch of edits such as adding new characters, creating a two player mode, making it so you can type numbers that correspond to each attack rather than having to type it out and making inputs case independent. We wanted to get permission from you to post the game after we finish adding stuff giving full credit to the combat system and any ideas in from the original game, we would leave links to your replit page and the original game.

Profile icon
noway15

woah woah woah my dude how in the world are you even making it work with player importing helper and helper importing player? That's an impossible thing and returns an error every time. Here's an exapmle. We have a module named m1 and a module named m2. m1 is accessing and modifying m2's data, and then m2 accesses the data in m1, taking and keeping it's own modified data, then modifying the modifications made by m1, then m1 takes that data and modifies it again, and so on in an endless loop.

Profile icon
pizzaharald

pikachu main

Profile icon
ahmedo123454

I AM UNSTOPPABLE

Profile icon
ahmedo123454
Profile icon
ahmedo123454

I AM UNSTOPPABLE

Profile icon
bwoop

Screenshot 2021-05-06 at 11.51.56 AM
i think this might have gotten a little out of hand...

Profile icon
glitchish

nice (also negatives shouldn't be allowed)

Voldemort : killing curse AVADA KEDAVRA! Voldemort did 50 damage to Pikachu ---------------------------------------- Voldemort health: 56 Pikachu health: -15 ---------------------------------------- Pikachu has no more health... You win! __________________________________________ Want to play another round? y/n >
Profile icon
Username543210
Profile icon
ruiwenge2

@Username543210 did you use the "think" move?
it raises spiderman's energy by 0.15. so if you used think once, and used another move that does some damage, it will raise the damage by 0.15

Profile icon
ruiwenge2

You can also take a look at another game I made with Python called Word Ping Pong:

https://replit.com/talk/share/Word-Ping-Pong/138427

Profile icon
gowithck

this is a lot fun! i won all the time!

Profile icon
ruiwenge2
Profile icon
ALEXANDERKUHLMA

thanos snap doesn't work.

Profile icon
AngeloJansen

I want be the v

Profile icon
AkashG4

darun

Profile icon
LordPython404

cool.

Profile icon
Ge1G

Bruh “Thanoses health (villain) (computer) was -1 what the ####”

Profile icon
Ge1G

Oh wait now it’s -16

Profile icon
Slade123

That’s should be cool downs so that enemy can’t heal all the time but this is a great game

Profile icon
TonyWu4

jedi is kind of OP ngl

Profile icon
BillNyeScience

We found the reason why Moldy Voldy has no nose
Screen Shot 2021-06-07 at 10.48.11

Profile icon
ruiwenge2
Profile icon
noway15

I found a problem with pikachu's special move, the number doesn't actually go down when you use it.

Profile icon
noway15
Profile icon
JACOBOBRIEN2

This is awesome

Profile icon
RonaB

oh this is kinda like my dungeons games

Profile icon
wiscool5

you should make it so that when you defeat your enemy, it wouldn't show negative numbers, but instead 0

Profile icon
wiscool5

I'm forking it so that I can make suprise, I won't tell you version