Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 896 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 896 Bytes

slot_game_with_pixi_particles

Small project built from a basic Pixi JS template. If run correctly with instructions below, it will display a casino slot reel with a spin/stop and a sound button like here: https://gyazo.com/7d9a937ea5c69a8d08a1ffaf08c66451 clicking the spin button will start rotating the reel and replace the spin button with a stop button like here: https://gyazo.com/912cf5b66798017a116d9b7c1678ece4 when reel rotation stops, i play three randomly positioned pixi particle explosions: https://gyazo.com/e7cafa2d544bc05e12b1ffd8fe7b2918 also clicking sound button will allow player to hear the button clicks, the reel stop sound and the congratulations sound that is triggered when particle explosions happen. Enjoy!

Install

Open your terminal and type the command npm install to install all dependences.

Start

To start just type in the terminal npm run start.