Use Spacebar to jump over the spikes. Good luck and try not to die! Still a work in progress, hope you guys like it! Adding score variable, making touch/mobile mode and adding arrow keys. Comment your feedback.
Thanks to @Rudra77, you helped me make the game ^^.