Top
⚠️ Page will reload in 15 minutes...
top of page
Flock Social Media flocksocial.net

Hub

Public·245 members

My AWESOME and EPIC code. Rate it out of 10.

import random

import time

alive = True

defence = 1

defence2 = 1

aichpee1 = 100

aichpee2 = random.randint(600,800)

strength = 1

strength2 = 1

print("The thing has " + str(aichpee2) + " health points")

while alive:

if aichpee1 <= 0:

print("L bozo you dead as hell")

break

hhhh = input("attack or lose turn or defend or strength or heal ")

if hhhh == "attack":

damage = (random.randint(20,50)*int(strength) / int(defence2))

critchance = random.randint(1,5)

if critchance == 3:

damage = damage*1.75

print("CRITICAL HIT!")

print("you just did " + str(damage) + " damage")

aichpee2 = aichpee2 - damage

time.sleep(1)

print("the enemy is at " + str(aichpee2) + " health points")

time.sleep(1)

if aichpee2 <= 0:

print("you have successfully murdered a something ig")

break

elif hhhh == "defend":

defenselevel = random.randint(1,5)

defence = defenselevel + defence

print("your current defence is " + str(defence))

elif hhhh == "strength":

strengthlevel = random.randint(1,3)

strength = strengthlevel + strength

time.sleep(1)

print("your current strength is " + str(strength))

time.sleep(1)

elif hhhh == "heal":

time.sleep(1)

healthincrease = random.randint(40,90)

potentialhealincrease = random.randint(1,50)

if potentialhealincrease == 34:

print("you got lucky!!!!!")

healthincrease = healthincrease * 10

aichpee1 = aichpee1 + int(healthincrease)

print("you healed " + str(healthincrease) + " health")

print("you are now at " + str(aichpee1) + " health")

time.sleep(1)

elif hhhh == "special":

aichpee1 = aichpee1 - 75

choiceofspecial = input("blast or something else")

if choiceofspecial == "blast":

print("you used Blast")

damage222 = (random.randint(100,150)*int(strength) / int(defence2))

critchance = random.randint(1,7)

if critchance == 3:

damage222 = damage222*1.75

print("CRITICAL HIT!")

time.sleep(1)

aichpee2 = aichpee2 - damage222

print("you did " + str(damage222) + " damage")

print("the enemy is at " + str(aichpee2) + " health points")

time.sleep(1)

if aichpee2 <= 0:

print("you have successfully murdered a something ig")

break

elif choiceofspecial == "something else":

print("you used something else")

damage22 = (random.randint(50,200)*int(strength) / int(defence2))

critchance = random.randint(1,7)

if critchance == 3:

damage22 = damage22*1.75

print("CRITICAL HIT!")

time.sleep(1)

aichpee2 = aichpee2 - damage22

print("you did " + str(damage22) + " damage")

print("the enemy is at " + str(aichpee2) + " health points")

time.sleep(1)

if aichpee2 <= 0:

print("you have successfully murdered a something ig")

break

else:

print("shut up")

elif hhhh == "skip turn":

print("i have no clue why you picked that but alright")

time.sleep(1)

elif hhhh == "debuff":

choiceofdebuff = input("strength or defence")

if choiceofdebuff == "strength":

strength2 = strength2/3

print("less strength for them!")

elif choiceofdebuff == "defence":

defence2 = defence2 * 0.66

print("less defence for them!")

else:

("L bozo")

else:

print("die irl")

choiceofattack = random.randint(0,4)

if choiceofattack == 0:

damage2 = (random.randint(10,40)*int(strength2)/int(defence))

critchance = random.randint(1,7)

if critchance == 3:

damage222 = damage222*1.75

print("Oh no! A critical hit!")

print("your opponent does " + str(damage2) + " damage")

aichpee1 = aichpee1 - int(damage2)

time.sleep(1)

print("you are at " + str(aichpee1) + " health")

time.sleep(1)

elif choiceofattack == 1:

damage2 = (random.randint(10,40)*int(strength2))

print("your opponent does " + str(damage2) + " damage")

critchance = random.randint(1,7)

if critchance == 3:

damage222 = damage222*1.75

print("Oh no! A critical hit!")

aichpee1 = aichpee1 - damage2

time.sleep(1)

print("you are at " + str(aichpee1) + " health")

time.sleep(1)

elif choiceofattack == 4:

damage2 = (random.randint(10,40)*int(strength))

critchance = random.randint(1,7)

if critchance == 3:

damage2 = damage222*1.75

print("Oh no! A critical hit!")

print("your opponent does " + str(damage2) + " damage")

aichpee1 = aichpee1 - damage2

time.sleep(1)

print("you are at " + str(aichpee1) + " health")

time.sleep(1)

if aichpee1 == 0:

print("L bozo you dead as hell")

break

elif choiceofattack == 2:

print("the thing wants to gain more strength")

strengthlevel2 = random.randint(1,2)

strength2 = strengthlevel2 + strength2

time.sleep(1)

print("their current strength is " + str(strength2))

time.sleep(1)

elif choiceofattack == 3:

print("the thing wants to gain more defence")

defenselevel2 = random.randint(1,2)

defence2 = defenselevel2 + defence2

print("their current defence is " + str(defence2))

time.sleep(1)

11 Views
BBC Fan
BBC Fan
Feb 03, 2024

10/11

© 2021-2026 by Flock Social™. All names, services, logos, and other related elements are included. All rights reserved.

 

Your Space. Your Way. Unleash Your Creativity!

bottom of page