Welcome to the Slot Game! This is a simple web-based slot machine game that lets you test your luck. The game has 6 columns and multiple paylines, featuring various fruit symbols with different values. The goal is to spin the reels and match symbols across predefined winning paylines to earn rewards.
- Interactive Slot Machine: Spin the reels and watch as symbols rotate in the columns.
- Multiple Paylines: There are various patterns to win, including horizontal, diagonal, and zigzag combinations.
- Bet and Balance System: Start with an initial balance and place bets on each spin. Win credits based on the paylines.
- Spotlight Effects: Winning combinations are highlighted with a spotlight effect for visual excitement.
- Start the Game: Press the "Start" button to begin spinning the reels.
- Bet: Each spin costs a fixed bet amount (50 credits by default).
- Winning: If symbols align across one of the many paylines, you will win a payout. The higher the symbol value, the bigger the reward.
- Balance: Your balance is displayed at the top, and it will update after each spin based on wins or losses.
The directory is organized as follows:
Slot-Website/
├── index.html # Main HTML file for the game
├── assets/ # Directory for all static assets
│ ├── css/ # Stylesheets for the game
│ │ └── styles.css # Main CSS file for styling the game
│ ├── js/ # JavaScript files for the game logic
│ │ └── scripts.js # Main JavaScript file for the game functionality
└── README.md # Documentation for the project
- HTML: Markup language to structure the game's interface.
- CSS: Styling for the game, including animations and layout.
- JavaScript: Game logic, including spinning mechanics, symbol generation, and payout calculation.
- Bootstrap: Used for responsive and easy UI components (e.g., buttons, layout).
To run the game locally:
-
Clone the repository:
git clone https://github.com/pakelcomedy/Slot-Website.git
-
Navigate to the project directory:
cd Slot-Website
-
Open
index.html
in your browser: You can simply open theindex.html
file in your preferred browser to start playing the game.
You can adjust the following settings to modify the game behavior:
- Symbols: The fruit symbols and their associated values are configurable in the
scripts.js
file. Add or modify symbols in thesymbols
array to change the gameplay. - Paylines: You can customize the winning patterns by modifying the
paylines
array. - Bet Amount: Adjust the
betAmount
variable to change the cost per spin.
Visit the game online at: www.slot.my.id blocked by komdigi
If you'd like to contribute to the project:
- Fork the repository.
- Create a new branch (
git checkout -b feature-xyz
). - Make your changes and commit them (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-xyz
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.