Instructions are in the game. When you start if you see a huge group of 20 apples, just lose and restart then it should be fine. I think that's all. Enjoy. This has a few bugs but I probably would not know how to fix them.
This took around 3 hours. All the code by me (Besides the number counter and the spin on the buttons but I forgot who its from).