A simple, interactive command-line slot machine game written in JavaScript. This project demonstrates basic programming concepts like loops, conditional statements, functions, and arrays. It's a great introduction to understanding game logic and user input handling using the prompt-sync library.
- Deposit money to start playing.
- Bet on up to 3 lines in each spin.
- Randomized slot reels with customizable symbol probabilities.
- Winning payouts based on the type of symbol.
- Tracks your balance and winnings dynamically.
- Option to play again until you run out of money or decide to quit.
- Node.js installed on your system.
- The
prompt-synclibrary for user input. Install it using the command:npm install prompt-sync