Step into the world of gambling with this thrilling slot machine game, crafted purely in vanilla JavaScript. No fancy frameworks, just the basics used ingeniously. Inspired by Memaw's love for betting in the hit show "Young Sheldon," this terminal-based game is a perfect way to revisit and sharpen your JS skills while enjoying the excitement of spinning the reels.
-
JavaScript - JavaScript (JS) is a lightweight interpreted (or just-in-time compiled) programming language with first-class functions.
-
Node.js - Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser.
-
pnpm - Fast, disk space efficient package manager.
pnpm accelerates package installation by sharing dependencies, optimizing storage and enhancing development efficiency.
Install dependencies
cd Gamble-JS
pnpm i
Run the game
node slotMachine.js