CHALLENGE DETAIL

Build a 'Viral' Game - Redux

OVERVIEW

CODE

User-added image

Build a simple HTML5 game that 'goes viral' and makes you an instant celebrity! Honestly though, we are trying to have some fun in the corporate world and piggybacking off our Customer Satisfaction Survey challenge to create something simple and appealing to gamers of all ages. 
 
Your game should be so simple that even a child could play. What would a hamburger or pizza franchise like to see in a game? Perhaps something where you build a pizza or hamburger, flick a burger wrapper into a trash can or possibly dunk donuts into a coffee cup. This is your chance to use your imagination, have some fun and make some money.
 
This doesn't have to be a mobile game but that would be an added bonus. Take a look at some of the PhoneGap games for inspiration.

At the end of the game, save a player's score to Database.com using a small app hosted on Heroku.

REQUIREMENTS

Build a fun and interactive game for a franchise so that patrons from each location can compete against one another. At the end of the game, upload the player's score to a franchise location that they choose.

1. Must use Heroku and Database.com to add records to the correct account.
2. Must be able to select the location (account) from Heroku app
3. Assume the Account field is lat__c and lng__c
4. Player's scores should be inserted into a custom object called score__c which is associated to the account (store location) and contact (the patron's record) via REST api
 
 
Optional:
 
5. Use the streaming API to show realtime score via the Heroku app.
6. Create a leaderboard per location or across all locations.
7. Offer and store points for registered users who use the app.
8. Use google or facebook for authentication.
9. Use HTML5 so app can run on mobile device.

Your application can use any language supported by heroku. However, we would like to see some ruby submissions using the databasedotcom gem.

SUBMISSION DETAILS

Upload all your source code as a zip and provide any documentation and/or instructions that are needed. Please be clear and concise with any setup instructions.
 
A video of your application using Jing or Youtube would also be helpful but not required.

Ease of use and installation is an important factor here so please be sure to include these instructions.  

Your submission will be judged by a panel of peers based upon this criteria. If you would like to request an extension, please read Can challenge deadlines be extended for more time? on our FAQ. We do not want to grant extensions unless there is a valid reason.

ADDITIONAL INFO

Node.js Demo with Force.com REST API, OAuth & Express

Build Javascript HTML5 Game from scratch

PARTICIPATION


DISCUSSION

alfongj
Hi, I am having troubles understanding some things of the problem statement... I hope you can help me :) For starters, what should the game be about then? Related to pizza or burger franchises, or free to choose? Secondly, I don't really get all the 'account' stuff. I am more or less new to CloudSpokes, so blame me for it :) . But could you please explain it a bit further? [Comment limit, continuing on next message]
alfongj, Jun 07, 2012 at 16:11 PM reply
alfongj
[Continuing from previous message] I don't understand if there is an 'account' database somewhere that I should access, or how do I get the account info from an user (as then, an extra is to use Google or FB for authentication). Also, I don't understand where should I assume that the names of the fields of accounts are 'lat__c' and 'long__c'. And that is all by now! I hope I didn't sound too noobish :P Thank you!
alfongj, Jun 07, 2012 at 16:11 PM reply
Kenji776
Man, super bummed. I had a really cool idea, but the forced heroku usage counts me out. Alas, best of luck to anyone going for it.
Kenji776, Jun 07, 2012 at 21:50 PM reply
kbowerma
@alfongj 1.) Free to choose but if you are having a hard time make it donuts. 2.) Each player should select which store location their score should be posted too. The location is represented by the salesforce Account, which the lat and long (you will have to add) if you want to use them to choose your nearest location. The account is in Salesforce.com which is what the database.com gem connects to.
kbowerma (admin), Jun 08, 2012 at 06:35 AM reply
atimb
Note: if you don't have enough submissions, I _may_ be able to produce something if the deadline is extended a few days.
atimb, Jun 10, 2012 at 23:45 PM reply
talesforce
+1 - I'd like to devote some time to this one. Other challenges are proving to be too much of a distraction to focus on this :(
talesforce, Jun 11, 2012 at 05:57 AM reply
evanjacobs
Just found out about this challenge today and would love a few more days to put something together (I've got the basic plumbing working but now need to build the actual game). Thanks!
evanjacobs, Jun 13, 2012 at 23:50 PM reply
atimb
You're not alone, I'm in the same stage. This is why I won't sleep today :)
atimb, Jun 14, 2012 at 00:54 AM reply
jeffdonthemic
We have extended this challenge until the end of the weekend.
jeffdonthemic (admin), Jun 14, 2012 at 06:02 AM reply
atimb
Oh my.. Next time please make a decision about the extension a bit sooner, now I have stayed up all night to finish and submit it at the last minute, just to find out that it was totally unnecessary.. :(
atimb, Jun 14, 2012 at 06:15 AM reply
jeffdonthemic
@atimb, just sent you an email regarding this. Stand by.
jeffdonthemic (admin), Jun 14, 2012 at 06:16 AM
jeffdonthemic
@atimb, we saw your request (along with the others) and at that time (when we came to work) there were no submissions. After we made the decision, your submission came in. You submitted at 5:50am and we updated the challenge end date at 5:58am. We had been talking about it with the other team members via email for quite awhile since request came in when we were asleep.
jeffdonthemic (admin), Jun 14, 2012 at 06:27 AM
atimb
Thanks Jeff for taking your time and explaining what happened exactly! It seems your decision was indeed justified. Sorry for raging, I was pretty exhausted..
atimb, Jun 14, 2012 at 09:42 AM reply

The discussion board is closed for this challenge.



PARTICIPATION

11 members participating with 5 registered

TECHNOLOGIES

Heroku | NodeJS | Salesforce.com | Java | JavaScript | Ruby

WINNER SELECTED

Ended Jun 18, 2012 at 4:00 AM
Winner Announced on June 21, 2012
View the challenge results
Give us your feedback about this challenge.

PRIZES

Total: $4,000
1st $3000
2nd $1000

SHARE

Chrome Extension

Install the CloudSpokes Chrome Extension for quick and easy access to the latest CloudSpokes challenges, your payments, leaderboards and more!