This was the first game I programmed, I had to learn it from scratch in a week hahaha, there was supposed to be an invisible wall behind and if you fell between the houses you were supposed to reappear on top again, the idea is that you lose by time or by colliding with the "enemies".
Thank you for the feedback (translated from PTBR to English)