Skip to content

Instantly share code, notes, and snippets.

@hawksprite
Created February 18, 2021 23:59
Show Gist options
  • Save hawksprite/ca7cd8a14082fdb23efcebae36fd6b76 to your computer and use it in GitHub Desktop.
Save hawksprite/ca7cd8a14082fdb23efcebae36fd6b76 to your computer and use it in GitHub Desktop.
{
"statements": [
{
// the average of the last three scores must be within 60 and 80. And it won't apply untill 3 had gone by
"averageOfLastThreeScoresMin": "60.0",
"averageOfLastThreeScoresMax": "80.0",
"atleastThisManyPlays": "3",
"statement": "You did alright.",
},
{
// the average of the last three scores must be within 40 and 70. And it won't apply untill 1 had gone by
"averageOfLastThreeScoresMin": "40.0",
"averageOfLastThreeScoresMax": "70.0",
"atleastThisManyPlays": "1",
"statement": "You did poorly.",
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment