// 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() { } function death2() { } function death3() { } function timeDeath() { // The death screen for passing the time limit }