This is a simple web-based Slot Machine Game implemented using HTML, CSS, and JavaScript. The game allows users to deposit money, place bets, spin the reels, and win based on matching symbols.
- Deposit money to start playing
- Place bets on 1 to 3 lines
- Spin the reels and win based on matching symbols
- Dynamic balance update
- Scrollable interface to view all game elements
- "Play Again" and "Exit" functionality
- Responsive design
-
Clone the repository to your local machine:
git clone https://github.com/Totenem/Slot-Machine-Game.git cd slot-machine-game
-
Open
index.html
in your preferred web browser to start the game.
- Deposit Money: Enter the amount you wish to deposit and click the "Deposit" button.
- Place Bet: Enter the number of lines to bet on (1-3) and the bet amount per line.
- Spin the Reels: Click the "Place Bet" button to spin the reels.
- Check Winnings: The game will display any winnings and update your balance.
- Play Again: If you have money remaining, click the "Play Again" button to place a new bet. If your balance is zero, deposit more money to continue playing.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/new-feature
). - Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature/new-feature
). - Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.