Closed dantaeyoung closed 6 years ago
In earthLogic.js or some file.
earthLogic.js
Given a predator-prey state, output a deterministic earth state.
The predator-prey state is in the same format as the /pp endpoint. (#9)
/pp
The earth state has the form (values normalized to between -1 and 1):
{ 'raining': 0.4, 'sun': -0.3 'asteroids': 0.6 }
In
earthLogic.js
or some file.Given a predator-prey state, output a deterministic earth state.
The predator-prey state is in the same format as the
/pp
endpoint. (#9)The earth state has the form (values normalized to between -1 and 1):