Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/n1md7/slot-game
Mini slot game with testing modes
https://github.com/n1md7/slot-game
game javascript javascript-game slot-game slot-machine
Last synced: 17 days ago
JSON representation
Mini slot game with testing modes
- Host: GitHub
- URL: https://github.com/n1md7/slot-game
- Owner: n1md7
- Created: 2019-02-10T19:13:11.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-02T20:04:09.000Z (about 1 month ago)
- Last Synced: 2024-10-14T02:23:18.146Z (about 1 month ago)
- Topics: game, javascript, javascript-game, slot-game, slot-machine
- Language: JavaScript
- Homepage: https://n1md7.github.io/slot-game/
- Size: 7.98 MB
- Stars: 41
- Watchers: 2
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Check out a new version written in PixiJS (https://github.com/n1md7/mini-slot)
## Slot Game with Configurable GUI
This vanilla JavaScript slot game features a dynamic and customizable user interface using a tweak panel, allowing
players to adjust various game settings without the need for external builders or frameworks. The game supports bets up
to $15, configurable reel and column layouts, custom colors, and auto-spin functionality.### Key Features:
- **Betting System**: Players can place bets from $1 up to $15, adjusting their bet size dynamically via the GUI.
- **Configurable Reels & Columns**: The number of rows and columns for the slot reels can be customized, with reels
supporting between 1 and 5 rows, and columns adjustable from 3 to 7.
- **Symbol Selection**: Supports both random and fixed symbol modes. In fixed mode, players can manually assign symbols
to reels.
- **Animations**: Includes adjustable animation speed and easing functions (linear, bounce, elastic, etc.) for a smooth
reel spin experience.
- **UI Customization**: Players can tweak block dimensions, padding, line widths, and background/border colors.
- **Auto-spin Support**: The game offers an auto-spin feature for continuous gameplay.
- **Audio Control**: Volume controls for background music, win sounds, and spin effects can be adjusted through the
tweak panel.
- **Responsive Reset Function**: Players can reset all configurations back to default settings with a single click.The tweak panel offers fine-grained control over the game's aesthetics and mechanics, making it highly customizable and
player-friendly.---
It has static files (Vanilla Javascript). No builders are required.
However, can be served over `http-server` by running
```bash
npm run serve
# Or
bun run serve# Make sure you install dependencies first
npm install
# Or
bun install
```![cover.png](img/cover.png)