Add game,js and modify calcLocation. Added variable exports to every file.

This commit is contained in:
Raktbastr 2025-02-26 09:51:09 -06:00
parent 25efc4f9f9
commit 3178ef479b
10 changed files with 109 additions and 85 deletions

View file

@ -1,5 +1,6 @@
// Program is started from here, runs functions from other files.
const variables = require("./variables.js");
const game = require("./game.js");
const shops = require("./shops");
const readline = require('node:readline');
@ -26,7 +27,8 @@ switch(mainMenuInput) {
startGame();
break;
case "2":
while (true) { console.log(variables.randomNumber(10,15)); }
console.log("Follow the link below for a game manual.")
console.log("[ENTER LINK HERE]")
break;
case "3":
console.log("Quitting Game...");
@ -48,5 +50,5 @@ function startGame() { // So far what I have is filler and testing, feel free to
console.clear();
variables.prewarmoney = 500;
shops.trader();
shops.ravenRock();
}