Really cute little game, I suspect inspired by Stardew Valley's Junimo Kart! The rail generation was a little erratic, and I felt like the collision box for the cart could be a little wider. As someone else noted, the enemies generation seemed a little too random and I ended up dying quite a few times before I could even touch the rail, but since I respawned within a second, wasn't a huge deal. I'm sure it was pretty tough to code the rail generation and all that, so I definitely respect the effort.
Good job though! My highscore is 1044. :)