We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c8ffdf commit 2c9c0abCopy full SHA for 2c9c0ab
server/util/scores.ts
@@ -13,5 +13,6 @@
13
export const getScore = (rl: number, rh: number, maxSolves: number, solves: number): number => {
14
const hardCurve = 428 * (0.995) ** solves + 75;
15
const easyCurve = 428 * (0.9978) ** solves;
16
- return Math.round(Math.min(Math.max(hardCurve, easyCurve, rl), rh));
+ const veryEasyCurve = -0.055 * solves + 150;
17
+ return Math.round(Math.min(Math.max(hardCurve, easyCurve, veryEasyCurve, rl), rh));
18
}
0 commit comments