Portfolio Page Week 1 & 2

Wecome to my Portfolio Page for Weeks 1 and 2. I have recently started a coding bootcamp provided by The Growth Company. Here is an example of my work, these were two of the Week 1 challenges. For the other weeks select from the Nav bar above


This was the Dice Roller task:

Here are the rules:

  1. Players score 10 points for every six they roll
  2. Players get 50 points if all five dice are the same
  3. Players get an additional 50 points if all five dice show a 6
  4. Players get no score at all if four or more dice are all showing 1


This is the code I used to create this game:

Code for task


This is an example of output when run:

Output of code


Next there was a tough challange, the Card Dealer


The Card Dealer:


And here was my code for that:

Code for task


Here is the result of the program:

The hand dealt by The Card Dealer is:




This website was created during Week 2 of the bootcamp and updated from that point on.

The HTML for this page and the javascript for the card dealer can be found on my GitHub Repository