slot-machine-game-using-js
SETUP
//Enter the npm init command in the terminal and press enter on each question it asks
// then node_modules and package.json would be visible in the explorer tab
//Enter the command npm i prompt-sync
and press enter
//Now begin writing code in the project.js file
- The Project consists of the Following functionalities * 1. Deposit money from the user * 2. Ask the number of lines, the user's going bet on * 3. Collect a bet amount * 4. Spin the slot machine * 5. Checks if the user won * 6. If the user won hand-over the winning amount * 7. If he loses play again