Create-Task/files/deathscreens.js

30 lines
No EOL
512 B
JavaScript

// Deathscreens, they should be the fallout 1 screens
const variables = require("./variables.js");
module.exports = {
deathScreen,
timeDeath
};
function deathScreen() {
let random = variables.randomNumber(1,3);
if (random = 1) { death1(); }
if (random = 2) { death2(); }
if (random = 3) { death3(); }
}
function death1() {
console.log("")
}
function death2() {
}
function death3() {
}
function timeDeath() { // The death screen for passing the time limit
console.log("")
}