If I didn't know any better I would honestly think this was stolen code from INK which has a similar game play mechanic but INK actually feels polished and is a full game, this feels more patched together in my opinion. It's too similar and even though it's supposed to be like a endless runner the mechanic is just too similar to me.
I would just say try and come up with some new game mechanics to use, you seem to be alright at coding so just use that on a more original idea.
I'm not trying to be harsh in any way just saying something more original would probably be more popular! Thanks for reading my review.