From 0fd48dc5dd055c4c7001c965b7c0bbac488572bf Mon Sep 17 00:00:00 2001 From: Nick Walton Date: Mon, 8 Apr 2019 19:01:27 -0600 Subject: [PATCH] small changes --- main.py | 2 +- static/script.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index d7fb2b5..90ea872 100644 --- a/main.py +++ b/main.py @@ -21,7 +21,7 @@ import pdb import os os.environ['GOOGLE_APPLICATION_CREDENTIALS']="/home/nickwalton/git/DM-Server/AI-Adventure-1f64082e4e50.json" - +#os.environ['GOOGLE_APPLICATION_CREDENTIALS']="/home/nickwalton00/DM-Server/AI-Adventure-1f64082e4e50.json" from google.cloud import storage from google import cloud diff --git a/static/script.js b/static/script.js index 83b3c11..1d0fef6 100644 --- a/static/script.js +++ b/static/script.js @@ -10,8 +10,8 @@ var action_list = ["You attack", "You tell", "You use", "You go"] var prompt_num = 0 var seed_max = 100 var seed_min = 0 -var seed = 100 -//var seed = Math.floor(Math.random() * (+seed_max - +seed_min)) + +seed_min; +var seed = Math.floor(Math.random() * (+seed_max - +seed_min)) + +seed_min; +console.log("Seed is ", seed) var StoryTracker = { firstStory: null,