Skip to content

Kavya751/slot-machine-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slot Machine CLI Game

A simple command-line slot machine game built using JavaScript and Node.js.

Features

  • Deposit money system
  • Choose number of betting lines (1–3)
  • Place bet per line
  • Random slot machine spin (3×3 grid)
  • Winnings calculation based on symbols
  • Play again option

Technologies Used

  • JavaScript (Node.js)
  • prompt-sync (for terminal input)

How to run the project

1. Clone the repository

git clone https://github.com/Kavya751/slot-machine-js.git
cd slot-machine-js

2. Install dependencies

npm install

3. Run the game

node index.js

About

A simple command-line slot machine game built using JavaScript and Node.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors