Essential Question: How can I use if statements to deal cards?
Mastery Objectives:
SWBAT create conditional statements with multiple conditions.
SWBAT create loops based on conditions.
SWBAT generate random integers.
Do Now: Write code to create a variable called card that creates a random number between 1 and 13 and print the results of that number.
Directions: There are two programs you have to type out. The first program is a simple version of black jack. After you type the code and get it to work, type out comments next to each line of code describing what the line of code does. Take a screenshot of your work and submit it to google classroom.
Project 1:
Next Step: Save your project and copy it. Then complete the code below:
Project 2:
Ticket-to-Leave: Find the definitions and code snippets for the following vocabulary words:
String
Variable
Integer
For Loop
Iteration
Counter
Resources: https://www.random.org/playing-cards/Â