General Instructions
Use your site on the Lourdes DMS Domain to submit your files. Transfer your code files to the server, and then submit the URL of the specific page to the Assignments tool in Canvas.
Assignment Instructions
Create a code page that...
- randomly generates numbers to represent the suit and value of 2 virtual cards, one for the computer and one for the user
- outputs the card values to the HTML page
- compares the card values and determines a winner
- outputs the message about who won to the HTML page
For this assignment...
- you may use the starter template
- you may not copy code (though it is fine to follow along with Tutorial Video 3 to build the first 3 functions)
Evaluation Criteria
To successfully complete this assignment, your page must
- demonstrate number and string handling
- demonstrate function syntax
- demonstrate the algorithm functionality described in the assignment
- demonstrate outputting values to an HTML page
- be free of coding errors