2026-8-7
I added leveling to the game. The formula for this is pretty arbitrary as I decided to create some custom formulas for this.
The total number of pieces that have to be played to level up (this number does not reset to zero when you level up) is as follows:
floor(16 * level ^ 1.25)
So to level up from level 1 to 2, 16 pieces have to be played, then to level up from 2 to 3, 38 pieces have to be played, then 63, 90, 119, etc.
For each level up, the gravity duration (the amount of time between two gravity ticks, where the piece currently being played moves down one tile) decreases, with this formula:
750ms * level^(-0.68144)
So level 1 -> 750ms, level 2 -> 467ms, then 354ms, 291ms, 250ms, etc.
Both formulas are kinda arbitrary as I fitted them using some target values and a regression curve on Desmos, but they work well for the gameplay.
I also added a display in the UI for the level.
But so far, the game isn’t really cursed. Just doing normal tetris seems kinda boring. I need something that is unusual, something that stands out, even if it’s simple.
So I added powerups! Mainly it’s just the bomb powerup for now.

Oh, and I changed the text displays on the left and right as well.
Total time: 2 hours