Hi, thanks
I did not have time (1hour) to add a bonus: they will further hinder or help
graphics:
1. car and obstacles: Inkscape > save optimized svg > svg-editor > extract optimized path for javascript canvas Path2D
2. cave: quadraticCurveTo with a number of lows and highs