Very cool that it's done in p5.js. Overall good game, playing is simple and to the point. Very encouraging words when you get the hole in less tries! I wish there was some kind of music, but that might be the limitation. In any case, good job!
Yes, I thought about an engine and made fast prototypes in SDL, love2d, Godot and p5.js. And guess which one was the smoothest experience.
I liked coding the physics from scratch.
Thank you very much.