Skip to content

Instantly share code, notes, and snippets.

@mplatts
Created August 27, 2013 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mplatts/6353440 to your computer and use it in GitHub Desktop.
Save mplatts/6353440 to your computer and use it in GitHub Desktop.
Proposed ruleset for how many coins should be issued for certain events/scenarios in q-learn apps
{
"login": {
"firstForDay": {
"coins": 1000,
"message": "First login for the day!"
},
"firstEver": {
"coins": 10000,
"message": "First login"
}
},
"topic": {
"onComplete": {
"coins": 1000,
"message": "Topic Complete!"
},
"onMaster": {
"coins": 2000,
"message": "Topic Mastered!"
},
"quiz": {
"firstAttempt": {
"correct": {
"coins": 100,
"message": [
"Excellent!",
"Nice!",
"Sweet!",
"Amazing!",
"Great!",
"Smooth!"
]
},
"incorrect": 0,
"combos": {
"2": {
"coins": 200,
"message": [
"Two in a row!",
"Two for Two!",
"Super Smooth!"
]
},
"3": {
"coins": 200,
"message": [
"Three in a row!",
"Triple Threat!",
"On Fire!",
"Three Peat!",
"Epic!"
]
},
"4": {
"coins": 200,
"message": "4xCombo!"
},
"5": {
"coins": 200,
"message": "5xCombo!"
},
"6": {
"coins": 200,
"message": "6xCombo!"
},
"7": {
"coins": 200,
"message": "7xCombo!"
},
"8": {
"coins": 200,
"message": "8xCombo!"
},
"9": {
"coins": 200,
"message": "9xCombo!"
},
"10": {
"coins": 200,
"message": "10xCombo!"
}
}
},
"revisionAttempt": {
"correct": {
"coins": 50,
"message": [
"Excellent!",
"Nice!",
"Sweet!",
"Amazing!",
"Great!",
"Smooth!"
]
},
"incorrect": 0,
"combos": {
"2": {
"coins": 100,
"message": [
"Two in a row!",
"Two for Two!",
"Super Smooth!"
]
},
"3": {
"coins": 150,
"message": [
"Three in a row!",
"Triple Threat!",
"On Fire!",
"Three Peat!",
"Epic!"
]
},
"4": {
"coins": 150,
"message": "4xCombo!"
},
"5": {
"coins": 150,
"message": "5xCombo!"
},
"6": {
"coins": 150,
"message": "6xCombo!"
},
"7": {
"coins": 150,
"message": "7xCombo!"
},
"8": {
"coins": 200,
"message": "8xCombo!"
},
"9": {
"coins": 200,
"message": "9xCombo!"
},
"10": {
"coins": 200,
"message": "10xCombo!"
}
}
}
}
}
}
@sethjeffery
Copy link

Is it better for the server to decide the messages, or the app? (Thinking about localisation.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment