Thank You
Ladybug Studios
Creator of
Recent community posts
THIS code extract will explain the mass balancing mechanic
the game does involve a bit of skill, stratergy and luck.
scale=randint(1,2)
if scale==1:
adding=randint(1,10)
print("You have been given a small scale mass of",adding,"KG")
print("you have",Rejects,"rejct points left")
print("to reject the mass type 'REJECT' to accept the mass press enter")
rejected=input()
if rejected=="REJECT":
if Rejects>=1:
Rejects=Rejects-1
else:
print("you have spent all of your reject points")
print("the mass will be automatically accepted")
sides=int(input("what side do you want to add the mass to? Type 1 for side 1 and 2 for side 2: "))
if sides==1:
side1=side1+adding
Masses_added=Masses_added+1
elif sides==2:
side2=side2+adding
Masses_added=Masses_added+1
if side1>side2:
differnce=side1-side2
elif side2>side1:
differnce=side2-side1
elif side1==side2:
differnce=0
else:
sides=int(input("what side do you want to add the mass to? Type 1 for side 1 and 2 for side 2: "))
if sides==1:
side1=side1+adding
Masses_added=Masses_added+1
elif sides==2:
side2=side2+adding
Masses_added=Masses_added+1
if side1>side2:
differnce=side1-side2
elif side2>side1:
differnce=side2-side1
elif side1==side2:
differnce=0
elif scale==2:
adding=randint(25,100)
print("You have been given a larg scale mass of",adding,"KG")
print("you have",Rejects,"rejct points left")
print("to reject the mass type 'REJECT' to accept the mass press enter")
rejected=input()
if rejected=="REJECT":
if Rejects>=1:
Rejects=Rejects-1
print("MASS REJECTED")
else:
print("you have spent all of your reject points")
print("the mass will be automatically accepted")
sides=int(input("what side do you want to add the mass to? Type 1 for side 1 and 2 for side 2: "))
if sides==1:
side1=side1+adding
Masses_added=Masses_added+1
elif sides==2:
side2=side2+adding
Masses_added=Masses_added+1
if side1>side2:
differnce=side1-side2
elif side2>side1:
differnce=side2-side1
elif side1==side2:
differnce=0
else:
sides=int(input("what side do you want to add the mass to? Type 1 for side 1 and 2 for side 2: "))
if sides==1:
side1=side1+adding
Masses_added=Masses_added+1
elif sides==2:
side2=side2+adding
Masses_added=Masses_added+1
if side1>side2:
differnce=side1-side2
elif side2>side1:
differnce=side2-side1
elif side1==side2:
differnce=0
if differnce>=100:
scale_points=0
print("GAME OVER!")
print("You have failed to play your scales right and you score 0 scale points!")
break