This is probably an issue with my scoring routine. I’m going through every one of the 2964 tiles on the tilemap in every call of _process(), which is definitely not performance-friendly.
I would have optimized it more but I was low on time and the game only caused a 5% CPU load on my machine, so I focused on getting the game into a playable state instead.