This is a twine game with two buttons: one that randomly gives you a type of candy, and one that counts the candy you've gotten.
I don't know if there's anything hidden here. This is a speed IF, so its likely the author was just experimenting with Twine, in which case this is a neat little piece of programming.