Skip to content
Sign upLog in
← Back to Community

BATTLE

Profile icon
VEXNotebook

Hi all!
This is my first repl. It is a battle like simulator where you can choose to battle someone (Anyone really). Hope you enjoy!

(Sry people who liked the hacks they have been removed my computer couldn't load so fast)

Voters
Profile icon
MiShaunWalker
Profile icon
JWZ6
Profile icon
MumboJumboFan
Profile icon
Dominicl645
Profile icon
SethWA
Profile icon
Firestorm8
Profile icon
ElizabethTeka1
Profile icon
flameSpectrum
Profile icon
Alevische
Profile icon
TheOceanFace
Comments
hotnewtop
Profile icon
gibbsfreenergy

Nice job!

Profile icon
VEXNotebook

@JosephSanthosh
Thanks!

Profile icon
VEXNotebook

GUYS I GOT THE WEAPON UPDATE!!! took me 30min so plz upvote and share with other ppl. Hope you enjoy the update! :)

Profile icon
Pizzaz4me

A great project, but you should make a list that players should choose from, because one character beat another player using his spit, while the player that died had a nuke machine gun.

Profile icon
Axrevyn

@PlaySoccer

Hah! What?

Profile icon
VEXNotebook

@PlaySoccer
ROFL ROFL ROFL ROFL XD beat opponent with spit I beat my opponent with homework lol.

Profile icon
VEXNotebook

@Axrevyn
I agree spit beats nuke machine gun ROFL

Profile icon
SamKunefeh

This is a great game as a first project! I hope you continue making projects like this.
Some Suggestions:

  1. Show weapons when choosing a weapon
  2. Use import os and os.sytem(“clear”) to clear the console when you want to.
Profile icon
VEXNotebook

@Jackbaklava
:) Thanks for the tip!

Profile icon
[deleted]

I agree! What a cool simple project

Profile icon
VEXNotebook

@violetpanda6
Thank you!

Profile icon
Spitfier720

I see how this works. The gameplay is good enough, however I think i found an error in your code.

When one of the players has negative or 0 health, the other player still has a chance to retaliate. I kinda feel that's unrealistic because if you're dead, you're dead.

Other than that it was a good program.

Profile icon
LTI2

@Spitfier720
Zombies: Am I a joke to you?

Profile icon
Spitfier720

@LTI2
if someone dies from a gunshot he can't shoot back

Profile icon
Daniel3210

@KrispyChiken
It's weird in some places. I had a gun. My opponent had a stick. But somehow I died. I still can't understand why! Anyway COOOOOOOOOOOOOOOOLLLLLLLLLLLLL...............

Profile icon
VEXNotebook

@Daniel3210
IDK why that happened =( well thanks!

Profile icon
JericoDeal

If you type .lower() after your variables it will strip all capitals before the if statement reads them. This way you don't have to use the "or" statement as often. For example:

option = input("Are you bored?")
if option.lower() == "yes":
print("Oh")

But I think this is amazing... Amazing job!!!

Profile icon
VEXNotebook

@JericoDeal
Thanks!

Profile icon
JericoDeal

I hope it made sense lol

@KrispyChiken

Profile icon
VEXNotebook

@JericoDeal
it does i just tried it in another repl and it worked!

Profile icon
Sylently

Cool!

Profile icon
VEXNotebook

@Sylently
Thanks!

Profile icon
MumboJumboFan

snowflake vs. lag ended in a tie

Profile icon
VEXNotebook

@MumboJumboFan
lol

Profile icon
MumboJumboFan

@KrispyChiken
LOVE YOUR GAME!!

Profile icon
VEXNotebook

@MumboJumboFan
thanks!

Profile icon
MumboJumboFan

@KrispyChiken
Thanks for making it. :)

Profile icon
VEXNotebook

@MumboJumboFan
:D

Profile icon
MumboJumboFan

@KrispyChiken
you rule

Profile icon
VEXNotebook

@MumboJumboFan
thanks

Profile icon
LTI2

Screen Shot 2020-09-23 at 9.18.36 PM


The hardest battle ever

@KrispyChiken

Profile icon
VEXNotebook

@LTI2
lel

Profile icon
Pizzaz4me

But the ability to kill your opponent with homework or spit makes this game cool

Profile icon
TheAverageAsian

This is hilarious when you add random weapons. XD
Also, -_-

Profile icon
Axrevyn

I do have a little bit of advice - it's a bit strange for the game loop to restart without clearing.
Try adding this to your code:

from os import system def clear(): system('clear')

Alternatively, you could do this:

from replit import clear

Both will allow you to use clear() to clear all text from the console.

I recommend using method one, though.
Profile icon
VEXNotebook

@Axrevyn
Thank you!

Profile icon
OldWizard209

This is soo cool

@KrispyChiken

BTW how old are you??

Profile icon
VEXNotebook

@abdullahrajput9
10

Profile icon
OldWizard209

Wow

@KrispyChiken

Profile icon
VEXNotebook

I finished updating, hope people like it!

Profile icon
Gabby8C0des8

@KrispyChiken
this is pretty cool! can't believe its your first repl

Profile icon
python88

@Gabby8C0des8
ikr

Profile icon
python88

@Gabby8C0des8
he/she is currently working on armor and weapons

Profile icon
VEXNotebook

@Gabby8C0des8
Thanks!

Profile icon
Gabby8C0des8

@python88
yesss that is what it needs

Profile icon
Gabby8C0des8

np

@KrispyChiken

Profile icon
python88

@Gabby8C0des8
@KrispyChiken
maybe do : import random
weapons = ['weapon a', 'weapon b', 'etc'] real_weapon = random.choice(weapons)

Profile icon
Gabby8C0des8
Profile icon
python88

@Gabby8C0des8
np

Profile icon
VEXNotebook

@python88
FYI im a "he" lol

Profile icon
Gabby8C0des8

oop-

@KrispyChiken

Profile icon
python88

@KrispyChiken
oh

Profile icon
flameSpectrum

Battle II is confirmed.
link:
https://repl.it/@flameSpectrum/BATTLE-II

Profile icon
VEXNotebook

@flameSpectrum
the link doesn't work :(

Profile icon
flameSpectrum

1.3 is released!!
changelog:
1.3.0 (major update)
added characters, damage resistance, and more cheat codes
line number: 220

Profile icon
flameSpectrum

@flameSpectrum
, I will add character names on-screen in v.1.3.1

Profile icon
flameSpectrum

1.2 is released!!
changelog:
v.1.1.0 (minor update) changed intro
v.1.1.1 (betatest) beta tested cheat codes.
v.1.2.0 (moderate update) cheat codes added with txt file dictionary

Profile icon
flameSpectrum
Profile icon
VEXNotebook

@flameSpectrum
Yey!

Profile icon
flameSpectrum

for free

Profile icon
flameSpectrum