Use the arrow keys to avoid the Heart. The More you avoid the more score you get. Comment down your highest score and I hope you enjoy!
I learned it from a scratch session. I have did this project in another account which is currently deleted.