Assignments DE.Modules

Handing In Assignments

You must hand in by using git

Hand In by git

  • Create an empty repo on bitbucket.org, gitlab.com, or github.com,
  • git push your local repo to the above remote repo.
  • For node assignments please put the line(s)

    node_modules/

    into your .gitignore file.

Send a mail to with:

  • The word 'handin <subjectname>' in the subject line of your mail
  • The url of your repo(s).

Assignment DE.Mod.1

In this assignment you must, by the use of modules, create a new architecture for your solution to the section called “Assignment DE.5.0 - Project I, Fall 2020”. For each game think in terms of at least three JavaScript files:

  • A library file with functions that you identify as usable in all three games.
  • A library file with functions relevant to this particular game.
  • A JavaScript file with the executable JavaScript that executes the game in this particular page.

We suggest that you start with restructuring the unaltered solution that you handed in. Hand that in as one branch. Then create another branch and think in terms of improving the solution by compartmentalizing the code to have more functions each of which does less. A function should do one thing, and do it well.

Finally this is also an opportunity to improve the yatsy solution with things you didn't have time for in the project.

This assignment may be solved in the groups from the original project, or it may be solved individually if you like the challenge, or if you fell out with the group :-|