A browser-based slot machine game. Players start with 1000 credits and spin to match three symbols to win.
Open index.html in any modern web browser. No build step or server required.
index.html - main game page
scripts/
script.js - game logic (spin, win/lose detection, balance management)
styles/
style.css - custom styling (dark theme, slot layout)
images/
coin.png - slot symbol
cherries.png - slot symbol
seven.png - slot symbol
grapes.png - slot symbol (defined but unused)
onSpinClick() - validates bet, deducts credits, generates random symbols, checks for winallSame() - checks if all three symbols matchresultMessage() - displays win/loss messageupdateMoney() - updates the credit display