I kinda forgot what I did here.

This commit is contained in:
Raktbastr 2025-02-25 17:36:33 -06:00
parent e413a5dea4
commit 25efc4f9f9
4 changed files with 29 additions and 10 deletions

View file

@ -3,7 +3,6 @@ const variables = require("./variables.js");
const shops = require("./shops");
const readline = require('node:readline');
console.clear();
console.log("__________________________________________________________________________________________________________________________________");
console.log(" _____ _ ____ ");
@ -25,11 +24,14 @@ var mainMenuInput = variables.userInput("Enter: ")
switch(mainMenuInput) {
case "1":
startGame();
break;
case "2":
showManual();
while (true) { console.log(variables.randomNumber(10,15)); }
break;
case "3":
console.log("Quitting Game...");
variables.sleep(1000);
break;
}
function startGame() { // So far what I have is filler and testing, feel free to change.
@ -46,4 +48,5 @@ function startGame() { // So far what I have is filler and testing, feel free to
console.clear();
variables.prewarmoney = 500;
shops.trader();
}