deep.js
/**
 * Get the score needed to reach a certain level.
 * Note that this new curve is roughly 4x as much as the old curve.
 */
Get the score needed to reach a certain level.
Note that this new curve is roughly 4x as much as the old curve.
Get the score needed to reach a certain level . Note that this new curve is roughly 4x as much as the old curve .
function levelScore(level){
  level -= 1;
  var poly = ((level+3)*level+6)*level;
  return poly;
}
function levelScore ( level ) { level -= 1 ; var poly = ( ( level + 3 ) * level + 6 ) * level ; return poly ; }
Get the score needed to reach a certain level.
Get the score needed to reach a certain level .
// offset so level 1 is 0
 // base polynomial: p = x^3 + 3x^2 + 6x
 // no adjustment here
