Skip to content

mohdfarhannawaz/slot-machine-game-using-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slot-machine-game-using-js

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

About

slot-machine-game-using-js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published