jeffdill2/hunger-crunch-tournament — pull request #27 by jeffdill2 (2014-07-11 00:52:35+00:00)
Title: Cloud code dummy data generator

# Changes #

### Parse ###
- Modified game totals and group totals data classes to have 'Tnt' prefix.

---
### cloud/main.js ###
- Modified data class names for 'Tnt' prefix change.
- Created cloud job **generateDummyData**
- Destroys all scores, then...
- Destroys all users, then...
- Pulls all groups, then...
- Loops through each group
- Creates a random user per each group and saves this user as the user pointer that will be used when a score record is created
- Creates a random number of score records - currently between 10 and 100 - for each group.
- Each score has a random World/Level, random coins, and random minions.

---
### new-group-code-view.js ###
- Replacing all '%20' with ' ' before the object is pushed into the template.