Color Jump in p5.JS

My code: https://editor.p5js.org/simontiger/sketches/3JKuJD6UE

Play: https://editor.p5js.org/simontiger/present/3JKuJD6UE

Press left and right arrow keys to move, space to jump. Don't jump on the red tiles, yellow coins give you points, blue tiles cost you points. The ticks...well...my sis insisted that I make them ticks even though they do nothing.

The making of: https://antwerpenhomeschooling.wordpress.com/2020/09/08/amsterdam-friends-and-color-jump/