Demo of a small slotmachine script i wrote for a project a while back. Play it online here.

slotmachine-demo

The game is written in PixiJS. A good framework for 2D HTML5 games/graphics with a lot of features.