I am trying to use the "Module Pattern" design in JavaScript to design a game of Hangman. I started with creating the game without module pattern design and it worked perfectly, so I know that the logic works. However, when I have now tried to rewrite the code so that is according to the module pattern design it does not work at all.
I have put the code in a JSfiddle: Fiddle
Please let me know what I am doing wrong.
Thanks in advance!
Aucun commentaire:
Enregistrer un commentaire