Nice! I wrote a similar '1d' game a while back, as a sort of 'art project' / simplest game I could come up with:

https://bobbyjack.itch.io/1derlust

I had a few ideas about how to extend the concept into a proper game; might revisit one of these days.