Share your repls and programming experiences

← Back to all posts
BATTLE
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
JWZ6
MumboJumboFan
Dominicl645
SethWA
Firestorm8
ElizabethTeka1
flameSpectrum
Alevische
TheOceanFace
nsturtz
Comments
hotnewtop
gibbsfreenergy

Nice job!

VEXNotebook
VEXNotebook

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

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.

Axrevyn

@PlaySoccer
Hah! What?

VEXNotebook

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

VEXNotebook

@Axrevyn I agree spit beats nuke machine gun ROFL

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.

VEXNotebook

@Jackbaklava :) Thanks for the tip!

[deleted]

I agree! What a cool simple project

VEXNotebook

@violetpanda6 Thank you!

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.

LTI2

@Spitfier720 Zombies: Am I a joke to you?

Spitfier720

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

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

VEXNotebook

@Daniel3210 IDK why that happened =( well thanks!

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!!!

VEXNotebook

@JericoDeal Thanks!

JericoDeal

I hope it made sense lol @KrispyChiken

VEXNotebook

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

Sylently

Cool!

VEXNotebook

@Sylently Thanks!

MumboJumboFan

snowflake vs. lag ended in a tie

VEXNotebook
MumboJumboFan

@KrispyChiken LOVE YOUR GAME!!

VEXNotebook
MumboJumboFan

@KrispyChiken Thanks for making it. :)

VEXNotebook
MumboJumboFan

@KrispyChiken you rule

VEXNotebook
LTI2


The hardest battle ever
@KrispyChiken

VEXNotebook

@LTI2 lel

Pizzaz4me

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

TheAverageAsian

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

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:

Alternatively, you could do this:

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

I recommend using method one, though.
VEXNotebook

@Axrevyn Thank you!

OldWizard209

This is soo cool @KrispyChiken
BTW how old are you??

VEXNotebook
OldWizard209
VEXNotebook

I finished updating, hope people like it!

Gabby8C0des8

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

python88
python88

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

VEXNotebook
Gabby8C0des8

@python88 yesss that is what it needs

Gabby8C0des8
python88

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

Gabby8C0des8
python88
VEXNotebook

@python88 FYI im a "he" lol

Gabby8C0des8
python88
flameSpectrum

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

VEXNotebook

@flameSpectrum the link doesn't work :(

flameSpectrum

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

flameSpectrum

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

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

flameSpectrum
VEXNotebook
flameSpectrum

for free

flameSpectrum

I will make this with graphics

VEXNotebook

@flameSpectrum sure but can you add me in the credits?

flameSpectrum

@KrispyChiken I did add you in 1.0

[deleted]

I beat the other player with a plastic sword while the the first guy had a rifle

VEXNotebook

@clawstrike HAHAHAHAHAHAHHAHAHAHAHHAHA!!!!! ROFL!!! Great Job

[deleted]

so violent(lol). Really this is good(not lol)

VEXNotebook
Name12

@KrispyChiken
thank you so much for inspiring me.
a battle simulator is an awesome idea for my new game!
here's the like to it.
https://repl.it/talk/share/battle-simulator/54238
an upgraded version of your's, I guess?

VEXNotebook

@Name12 sure!

TheOceanFace

Wow. Good job on your first repl!

VEXNotebook
theroadtocode

I did Mask (sanitizer) vs. Coronavirus (sneezes) and mask won. That kinda reassured me lol.

VEXNotebook

@theroadtocode I agree MASK FTW

Albertthepeanut

I did Karen V.S Store Manager. Karen won.

Gabby8C0des8

lmao i should've expected this-

RogerChao1

Ayo Kevin this is pretty impressive ;)