Thanks for the kind words!
The initial void spawn is regulated by RNG. I think it starts at 40% chance then goes up per level to spawn one. There is also a $DeathTimer in the background that on timeout spawns a void - this was initially to keep the game moving.
The leaderboard is ran by a 3rd party backend. It was…relatively easy to connect. I really wanted that because I feel the game is a bit mediocre on meta progression gameplay, and the thing that’ll get people to continue to play is the leaderboard