Skip to content

MHN-Sathsara/Simple-JavaScript-Slot-Machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slot Machine Game 🎰

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.

Features

  • 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.

Requirements

  • Node.js installed on your system.
  • The prompt-sync library for user input. Install it using the command:
    npm install prompt-sync

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published