Skip to content

it will show a spin wheel that will stop randomly on a value

License

Notifications You must be signed in to change notification settings

alok4174806/wheel-of-fortune

Repository files navigation

Wheel-Of-Fortune

A Javascript application which creates a wheel-of-fortune using HTML5 Canvas.

Description

This is a personal toy web application to explore HTML5 Canvas and the development workflow for a Javascript project. It utilizes Backbone as the application framework and Grunt for task automation.

The current implementation fetches the wheel-data from a google spreadsheet using the Spreadsheets Data API.

Demo

http://zweischrift.de/wof/

Local Setup

Create a spreadsheet and publish it. Clone this repository and rename the file Gruntfile.sample.js to Gruntfile.js and edit the initialRoute parameter in the template task (<key> is the key of your spreadsheet as defined by the Spreadsheets Data API; <label column title> and <fitness column title> are the values in the columns of the first row in the spreadsheet). Run npm install && bower install && grunt build server, which builds the app in the build/ directory and starts a server at localhost:7878 with this directory as it's root. Open a browser and enter the URL of the server.

Spin the wheel ;)

About

it will show a spin wheel that will stop randomly on a value

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages