Skip to content

Instantly share code, notes, and snippets.

@interaminense
Last active February 26, 2018 02:15
Show Gist options
  • Save interaminense/58e40ef694c974fe88409be406bc146b to your computer and use it in GitHub Desktop.
Save interaminense/58e40ef694c974fe88409be406bc146b to your computer and use it in GitHub Desktop.
Mathematics API
App.STATE = {
countdown: {
value: 20
},
lvlDefault: {
value: 'easy'
},
lvls: {
value: [
{
internalLabel: 'easy',
label: '😸 easy',
maxNumber: 3,
operators: [
{ label: '+' },
{ label: '-' }
]
},
{
internalLabel: 'normal',
label: '🧠 normal',
maxNumber: 5,
operators: [
{ label: '+' },
{ label: '-' },
{ label: 'x' }
]
},
{
internalLabel: 'hard',
label: '💀 hard',
maxNumber: 10,
operators: [
{ label: '+' },
{ label: '-' },
{ label: 'x' }
]
}
]
},
showResult: {
value: false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment