convert hit window timings into an Overall Difficulty (accuracy) value
if a hitwindow is missing, either replace it with NaN, null or undefined
const hitWindow_300s = 25.5; const hitWindow_100s = 67.5; const hitWindow_50s = 109.5; const first = FromMsOd(hitWindow_300s); // => 9 const second = FromMsOd(NaN, hitWindow_100s); // => 9 const third = FromMsOd(NaN, NaN, hitWindow_50s); // => 9 Copy
const hitWindow_300s = 25.5; const hitWindow_100s = 67.5; const hitWindow_50s = 109.5; const first = FromMsOd(hitWindow_300s); // => 9 const second = FromMsOd(NaN, hitWindow_100s); // => 9 const third = FromMsOd(NaN, NaN, hitWindow_50s); // => 9
Optional
convert hit window timings into an Overall Difficulty (accuracy) value
if a hitwindow is missing, either replace it with NaN, null or undefined
Example