Skip to content

hpawl/Simple-CLI-Slotmachine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slot Machine Game

This is a simple slot machine game written in JavaScript. I followed a YouTube tutorial to help me understand how JavaScript works with things like functions, loops, and randomization. It's my first try at something like this, so it’s a bit scuffed!

How to Play:

  1. "Deposit" some money to get started.
  2. Pick how many lines you want to bet on (1-3).
  3. Choose your bet per line.
  4. Spin the slot machine and hope you win!
  5. If you win, you get some money back. If you're lucky, you might get to keep playing.
  6. Play until you run out of balance (or until you get bored).

Credits:

This is entirely based on a tutorial by Tech With Tim. I followed the video to learn some JavaScript, so all credit to them for the main structure.

License:

Feel free to use or modify this however you want. I didn’t make this from scratch—thanks to the tutorial!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published