repl.it
@Fireballme/

Story Generator

Python

w h y

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import random
things = ["child","man","woman","weeb"]
names = ["Sans","Jeebus","Dissapointment","Bob"]
actions = ["straight up yeeted","squeezed","blew up","consumed"]
thing2s = ["a rock","an evil boi","a banana","an uwu sphere"]
groups = ["police officer","gangster","sentient tree","loli"]
action2s = ["arrest", "slap","consume","yeet"]
parts = ["hands","feet","eyes","elbows"]
happens = ["shaking","glowing","throbbing","rattling","screaming"]
shapes = ["ball","beam"]
materials = ["light","fire","deep frying oil","electricity"]
colors = ["red","blue","yellow","black"]
heroes = ["All Might","Thor","JoJo","Batman","Thanos"]
outcome = ["good","bad"]
thing = random.choice(things)
name = random.choice(names)
action = random.choice(actions)
thing2 = random.choice(thing2s)
group = random.choice(groups)
action2 = random.choice(action2s)
part = random.choice(parts)
happen = random.choice(happens)
shape = random.choice(shapes)
color = random.choice(colors)
material = random.choice(materials)
hero = random.choice(heroes)
print(f"There was a {thing} named {name} who {action} {thing2}.") 
print(f"Then a group of {group}s came to {action2} {name}.")
print(f"Just as the {group}s were about to {action2} {name}, {name} noticed their {part} were {happen}.")
print(f"\"What is this...\" thought {name}. ")
print(f"Suddenly, their {happen} {part} shot out a {shape} of {color} {material}. ")
print(f"Then, {name} knew what was happening.")
print(f"\"This is the power of the {material} master, {hero}!\"")
print(f"{name} felt {hero}'s power coursing through them.")
print(f"{name} decided to fight the {group}s.")
print(f"{color} {material} was everywhere. {group}s were flying all over!")
print(f"At the end of the battle, {name} was tired.")
print(f"There was only one {group} left.")
color2 = random.choice(colors)
print(f"The {group}'s eyes started to glow {color2}.")
print(f"{name} knew what to do.")
?