added telemetry

This commit is contained in:
Nick Walton
2019-11-19 14:00:52 -07:00
parent d919450161
commit 378829cd4c
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -37,16 +37,16 @@ def play_aidungeon_2():
story_manager = UnconstrainedStoryManager(generator)
print("\n\n\n\n")
with open('opening.txt', 'r') as file:
starter = file.read()
print(starter)
save_story = input("Help improve AIDungeon by enabling story saving? (Y/n) ")
if save_story.lower() in ["no", "No", "n"]:
upload_story = True
else:
upload_story = True
with open('opening.txt', 'r') as file:
starter = file.read()
print(starter)
while True:
print("\n\n")
+1 -1
View File
@@ -20,7 +20,7 @@ class Story():
self.seed = seed
self.choices = []
self.possible_action_results = None
self.uuid = uuid.uuid1()
self.uuid = str(uuid.uuid1())
if game_state is None:
game_state = dict()