Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
A jam submission

100% Pure CSS Slot MachinesView game page

A fully functional slot machine in 100% pure CSS. No JavaScript, no HTML structure.
Submitted by surahotoke — 6 hours, 8 minutes before the deadline
Add to collection

Play game

100% Pure CSS Slot Machines's itch.io page

Results

CriteriaRankScore*Raw Score
Innovation#213.7003.700
Theme#2122.9502.950
Overall#2592.6702.670
Graphics#2722.6502.650
Gameplay#3502.2502.250
Audio#3981.8001.800

Ranked from 20 ratings. Score is adjusted from raw score by the median number of ratings per game in the jam.

Challenges

Open Source

GitHub repository url
https://github.com/surahotoke/slot-machines-100-percent-pure-css

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted

It’s honestly rare to see a "Pure CSS" entry in a Jam. The logic you’ve built into the styling to handle the slot mechanics is really impressive—it shows a lot of dedication to the technical constraint. The visuals are clean and the execution is very smooth.

Dropped a rating for the creativity and technical effort! I’ve also submitted an entry which is a puzzle game focused on perception. If you have a moment to check it out, I’d value your feedback~!

Submitted

Ha ha ha that is so cool!

For me, Chrome/Linux on a 1.5 GHz i7, the browser struggled to keep up.

Submitted

Impressively impressive in terms of code!

Submitted

The coolest part of this was checking out the files! Really impressive that you were able to pull this off! Unfortunately, I guess there is no way include sound in css lol. Kind of difficult to judge this as a game when such a huge limitation is present. Nonetheless it is very impressive and obviously something you wanted to do so well done!

Submitted

I love gambling.

Submitted

thats impressive

Submitted

CSS-only is such an interesting challenge.

Submitted

This is honestly wild! Handling randomness, animations, and state transitions all in CSS is super impressive. Didn’t know CSS could go this far!

Submitted(+1)

You gave yourself a solid little challenge to leave JS out of a game built in HTML and CSS. You pulled it off! Though the cost is some serious lag. haha
Good job! 

Developer

Thank you! Actually, I went one step further — HTML is excluded too!

Submitted(+1)

Who would thought that you can use pure CSS to make games?

Developer(+1)

Thanks! Glad I managed to finish it in time!

I played your game! It's a proper RTS — really cool!

Developer

🚨 Important: If buttons don't respond (bet starts the spin, stop!! doesn't work), please make sure your browser zoom is at 100% (Ctrl + 0 to reset). The game uses 1px-precise scrollbar position to encode state, so any zoom misaligns the click detection.

Submitted(+1)

I really appreciate the tech challenge you gave yourself! I hope other people notice. Good luck in the jam

Developer(+1)

Thank you so much! 🙏 Just played Mün Craft — left a comment there

Developer

Hello! 👋

A few notes for players:

⚠️ Browser support: Requires the latest Chrome / Edge / Opera. Other browsers may not render correctly because the game uses cutting-edge CSS features.

🖥️ Best on desktop. Mobile reels spin, but bet switching and BONUS/FREE counters may glitch.

💡 If the layout looks broken on first load, please refresh once or twice — initial CSS animations can desync if you move the mouse during loading.

🎰 How to play: Long-press "bet" to set wager → Press "play" → Hit each "stop!!" → Match 3 symbols on any of 5 lines to win!

🔧 Tech tip (for those who want to try MACHINES mode):

The BONUS probability is about 1/8000, so MACHINES mode may be hard to trigger in normal play. To experience it quickly, open DevTools and add `counter-increment: slot-state 8;` to the `html::after` rule in the Styles pane, then remove it. This momentarily sets bit 3 of the state register, triggering BONUS mode.

This itself is a demonstration of the "scrollbar as memory" design — game state is encoded in <html>'s scroll position as a 6-bit register.

Source code: https://github.com/surahotoke/slot-machines-100-percent-pure-css

Feedback welcome! 🙇