Assignments DE.5

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.5.0 - Project I, Fall 2020

In groups of 3-5 students you must create a small website that serves three games to the user.

  • Yatzy. The rules of the game may be found in https://en.wikipedia.org/wiki/Yatzy. The rules are those of Yatzy, NOT Yahtzee. The dice are not meant to be graphical. We will get there later this fall. Five variables or an array will do.
  • Hangman. The rules of the game may be found in https://en.wikipedia.org/wiki/Hangman_(game), the Overview section. You may choose to program it as a
    • solitaire game, where the program finds a word from a list, or
    • a two player game, where one opponent enters a word and the other player guesses.
  • Guess a Number in the range 1 - 1000. The program creates, secretly, a number in that range. The player must guess the number within 10 guesses. At every guess the program must reveal whether the number was too high, or too low. Then the player must guess again based on that feedback.

    The computer wins if the player cannot guess the number in ten attempts, the player wins if he/she can. Time the attempts for each generated number. Score the attempts so that with an equal number of attempts, the shorter time wins.

Illustrate, use styled alphanumerics. Save scores in cookies.

These are the functionalities of the project. The formalities will be given in a formal document to be posted on our current LMS, Canvas.