This is a fun little command-line slot machine game written in JavaScript using Node.js! It’s a simple simulation meant for educational purposes, especially for those learning programming and JavaScript basics such as functions, loops, input handling, and working with arrays and objects.
- Simulates a 3x3 slot machine
- Users can:
- Deposit money
- Choose how many lines to bet on (1-3)
- Place individual bets per line
- Spin the slot machine and get results
- Node.js (v14 or higher recommended)
prompt-syncpackage for user input
- Clone this repo or download the script:
git clone https://github.com/yourusername/slot-machine-game.git cd slot-machine-game