CodeForTucson / sea-scavenger

A web-based game created for The Opportunity Project 2020 Sprint 1 to highlight issues of ocean plastics pollution.
BSD 3-Clause "New" or "Revised" License
1 stars 4 forks source link

Change maxCount to firstQuartileCount in plastics.json #36

Open DainialPadraig opened 3 years ago

DainialPadraig commented 3 years ago

The maxCount (rank 1) value in the plastics JSON file needs to be changed to firstQuartileCount with the value for the rank 3 country instead. This will make calculating the mission count more straight-forward, since the mission count can be calculated between the medianCount and the firstQuartileCount.

The potential downside of this change is that, either the data file will need to be modified again or logic will need to be added to choose a different upper bound for the rand() function (like the rank 2 count), if the first quartile value makes the game too easy.