From 18a96b4f3c20f9608940f537a2e0aef4740f1269 Mon Sep 17 00:00:00 2001 From: Nick Walton Date: Tue, 9 Apr 2019 22:25:09 -0600 Subject: [PATCH] re enabled random seeds --- static/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/script.js b/static/script.js index 76269a0..c186760 100644 --- a/static/script.js +++ b/static/script.js @@ -12,8 +12,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 = Math.floor(Math.random() * (+seed_max - +seed_min)) + +seed_min; -var seed = 108 +var seed = Math.floor(Math.random() * (+seed_max - +seed_min)) + +seed_min; +//var seed = 108 console.log("Seed is ", seed) var StoryTracker = {