W and spacebar should work the same. Supposedly you can use W to jump, but since it means you can't double jump it's not a good idea. Also, I'd advise adding arrow key support for right-handed users.
I will try to solve this
Thank you for playing my game