Game Design Help in Desmos

Im making a game about walking up a hill. I suck at movement so could you help? Link is Game | Desmos

If you make the hill a polygon there is no way to check for collision (maybe there is but it would be too complex). I think instead you should make a list of points that act as hitboxes, and the list is updated as the player moves

Here is a game that does that Hamster Game | Desmos (I did not make it I found it in the 2024 Art Expo under ages 13-14)