Not affiliated with @o5k (osk) or TETR.IO
I learnt JavaScript just to make this so sorry if code is bad lol
I extrapolated the formulas for the garbage based off of osk's attack table:
According to osk the formula for singles is
Math.floor(Math.log1p(combo_level * 1.25))
Based off of the attack table, I extrapolated
Math.floor(combo_level/(4/(B2B_level + base_attack))) + B2B_level + base_attack
I couldn't find a general formula for the B2B chaining formula so i just went with the one that osk said in discord:
Level | B2Bs |
---|---|
0 | 0 |
1 | 1-2 |
2 | 3-7 |
3 | 8-23 |
4 | 24-66 |
5 | 67-184 |
6 | 185-503 |
7 | 504-1369 |
8 | 1370+ |
Technically we don't actually know when level 8 ends but someones probably not going to get 1370+ B2Bs in a row anyways
If you have any bug reports or suggestions open an issue