Skip to content

aeblin/react-slots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-slots

A nice lightweight Slot Machine Implementation in React.js

Local Setup

If you're going to do any editing -

sass --watch slots.scss:slots.css &

Explanation

While working on a slot machine implementation for a coding exercise, a friend suggested I take a look at React.JS.

Structure

index.html is mostly comprised of includes for react and css. Save for the

the dom is generated by React and lives in

app.js contains the render() calls for the virtual dom as well as logic for random slot state generation, and win states.

Bragging

The slot icons and win state icons were drawn up with a touch-pad in Illustrator. ...I should buy a new a pen for my Wacom tablet.

About

Slot Machine Implementation in React.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published