Added the game html, javascript and controller page. Wrote out the javascript for the code in psuedocode.