Skip to content

Single Page Betting Application built using Backbone.js using local storage to store all client-side data (rate, bet, result, balance, etc...).

Notifications You must be signed in to change notification settings

BazzarBit/bitcoin-game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin Game

The app was built using Backbone.js and as a client-side application, all data (rate, bet, result, balance, etc...) is stored in the browser's local storage.

The idea behind the application architecture was to use a component-based approach. This helps focus on single functionality and develop smaller components, easier to maintain, test and scale.

I tried to split the JS code into these small units/components that act as much as possible as standalone components. The HTML markup and Sass/CSS styles was developed in a similar way using the BEM methodology (block, element, modifier). This has proved to help a lot with maintainability, code quality and developer ramp up time.

This being my first experience with Backbone, I'm sure some parts of the JS application might benefit from different design pattern or architecture that may (or may not) be more specific to Backbone. But at the end of the day, it was a great opportunity to implement something different, a little bit outside my comfort zone of AngularJS!

Run project

  • Download app folder from Git (and/or download zip file).
  • Extract/unzip content of zip file on your computer.
  • Open app/index.html in your browser.

About

Single Page Betting Application built using Backbone.js using local storage to store all client-side data (rate, bet, result, balance, etc...).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.3%
  • CSS 25.0%
  • HTML 23.7%