Not the world’s most polished game, but it works. Up arrow to jump over spikes, down arrow to dodge the horizontal bar thingamabobs.
All code by me! Find the mobile version here: https://scratch.mit.edu/projects/703449783/