Skip to content

LeonNussbaum/SimpleJsSlot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleJsSlot

This project is a simple slot machine implemented using HTML, CSS, and JavaScript.

Features

  • Interactive slot machine with five reels
  • Supports various sound effects (start, spin, win, etc.)
  • Dynamic symbol display
  • Management of balance and bets

Installation

  1. Download or clone the repository using:
    git clone https://github.com/LeonNussbaum/SimpleJsSlot.git
  2. Ensure that the necessary files are present:
    • index.html
    • styles.css
    • script.js
    • images/ (contains slot machine symbols)
    • audio/ (contains sound effects)
  3. Open the index.html file in a web browser.

Controls

  • The slot machine starts with an initial balance of 1000.
  • The default bet is 10 per spin.
  • The symbols on the reels change with each spin.
  • Winning lines are highlighted after a successful spin.
  • Sound effects accompany various actions.

File Structure

|-- index.html     # Main structure of the slot machine
|-- styles.css     # Styles for the layout
|-- script.js      # Game logic
|-- images/        # Slot machine symbols
|-- audio/         # Sound effects
|-- img/           # Folder containing screenshots
    |-- img.png    # Screenshot of the slot machine

Screenshot

Slot Machine Screenshot

TODO:

  • Implementing a more detailed winning system
  • Animated reel rotations
  • More symbol types for diverse spins
  • Slot Feature

Test it out

You can test the slot machine live at: https://silverkush.de/slot/index.html

License

This project is free to use and modify.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published