jannik323 / KarlsonScore

https://jannik323.github.io/KarlsonScore
1 stars 0 forks source link

Better Score Calculation #14

Open jannik323 opened 2 years ago

SophiaGui commented 2 years ago

the equation to calculate lvl score could be: (PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR))/13

SophiaGui commented 2 years ago

i forgot to multiply by 100 at the very end

jannik323 commented 2 years ago

@SophiaGui

the equation to calculate lvl score could be: (PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR)+PB/(PB^2-WR^2+WR))/13

why repeat PB/(PB^2-WR^2+WR)+PB 13 times only to divide it by 13... and why 13. maybe im just dumb , but i dont rly understand . also a few examples would be nice

jannik323 commented 2 years ago

I think for the total we can just do (fullgame score + level score)/ 2 That way any score calculation works with the total.

Instead of NULL/"-" we can give invalid scores 0. like if there is no fullgame run. tho as ik javascript it will probably cast NULL to 0 and work fine without changing it lol.

jannik323 commented 2 years ago

I've locally added tobik's level score calc and the total score calc ive mentioned and this is the result: grafik the current one : grafik