It's an interesting game idea.
But I would suggest working on the random spawning becomes sometimes a top and a bottom spike spawn right next to each other and you can't avoid it. Also it would be cool if you could add a soundtrack and a moving background so the game is more intriguing.
But overall dude, great attempt!