I found a neat app online (
potionapp.com ) that uses jQuery (and apparently PHP?) to create a "potion finder". The 'potion finder' is for a video game that came out in 2011 called Skyrim. In the game you can make potions out of some 30+ different ingredients. Now, each ingredient has four different properties and so the combinations of ingredients to potions reaches to some 20,000+ possible combinations. While I know that most of the actual computation is being done on the server side and then being brought back to the front-end via an HTTP Post request I just want to be able to step through the script.js file's lines of code with certainty as to their specific functionality.
I am having a lot of trouble learning how this works, it uses jQuery in it's script.js file, its source is available (except for the PHP) but I have asked the developer about it and I think he might oblige and let me see the PHP source file. I would like to know if anyone would be kind enough to add comments to the script.js file on the page and post it in reply to this request, wherein the comments would explain what the 15 or so lines of jQuery?
Thank you for the time in advance!