Click here to Skip to main content
15,896,557 members
Articles / Internet of Things

FitBitten

Rate me:
Please Sign up or sign in to vote.
3.50/5 (10 votes)
23 Mar 2015CPOL1 min read 11.3K   2   4
Outrun hungry zombies (or fleeing humans) with your Fitbit.

This article is an entry in our Microsoft Azure IoT Contest. Articles in this section are not required to be full articles so care should be taken when voting.

Introduction

It can be very hard to motivate yourself to exercise every day, even when using a fancy wifi enabled pedometer. While Fitbit includes several "competitions" and "badges" in order to spur activity, these can be fairly dry. This app intends to liven up the Fitbit by giving it a fresh "Walking Dead" inspired game. Users who register with the app will be randomly grouped into a band of "Survivors," with the goal of gaining as many points as they can. Each user will spend the day getting as many steps in as possible. At night, if the users failed to get more steps than the zombies, then there is a chance they will be bitten and become a zombie. The next day the remaining survivors continue to get steps to stay alive, while the zombie players try to get more steps than the survivors to bite them. The game continues for several days until there is only a handful of survivors left, when they eventually get "rescued" and win, and can choose to play again with a different group.

Players can earn points by surviving the night without getting bitten or by winning. Players who have been turned into zombies can also gain points by biting other players. There will be a leaderboard where players can compare their scores.

Using the code

The app will be a .NET MVC framework web application using Azure. It will use knockoutJS to bind data elements to the browser for clean views. Fitbit uses the OAuth 1.0 protocol to authenticate the devices to the app. The Fitbit API uses RESTful service calls to read and write to the Fitbit resources. This current application will only need to read, but future updates may include write actions.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Booz Allen Hamilton
United States United States
I am a software developer with experience with Java, C#, and .NET.I am interested in developing for Windows 8.

Comments and Discussions

 
SuggestionSuggestion Pin
Ranjan.D1-Apr-15 16:58
professionalRanjan.D1-Apr-15 16:58 
QuestionLove it! Pin
Diane Curtis27-Mar-15 6:08
Diane Curtis27-Mar-15 6:08 
GeneralMy vote of 5 Pin
normsall24-Mar-15 11:20
normsall24-Mar-15 11:20 
GeneralMy vote of 5 Pin
descartes23-Mar-15 7:19
descartes23-Mar-15 7:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.