-
Notifications
You must be signed in to change notification settings - Fork 20
Week 4 assignment Joann Cahill #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jcahill53
wants to merge
14
commits into
UW-JavaScript-310B:master
Choose a base branch
from
jcahill53:Week-4-Class
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
e6172e5
Push solution for foodCooked activity
jcahill53 47c376a
Push work on cardsWorthTen and createCardDeck activities
jcahill53 fdcc5a9
Push changes to cardsWorthTen, createCardDeck and logCardDeck
jcahill53 997015a
Push additional change to cardsWorthTen exercise
jcahill53 50ceed2
Push final changes for createCard and cardsWorthTen activity
jcahill53 9a8553e
Push initial code for blackjack game
jcahill53 7376835
Push latest changes to blackjack game
jcahill53 5411116
Push change to blackjack to fix for loop index reference
jcahill53 9a23a79
Push change to blackjack to fix for loop index reference
jcahill53 7272eb8
Push to add playerScore definition
jcahill53 cb4aab6
Push latest changes to blackjack.js
jcahill53 5fef9ca
Push fixes to return scores and end runaway loop
jcahill53 5b72d18
Push fixes to return scores and end runaway loop
jcahill53 43f2ae4
Push final fixes to blackjack game
jcahill53 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also a hint on how you might filter values and make a string . . . You have the array of card objects already. In your loop below you are reaching the value correctly. Now instead of console logging them, tack them on to the end of a new collection. No single way to do this, you could start with an empty string and concatenate on to the end . . or perhaps make an empty array that you push the new values into, and then later use
Array.join(', ')
to convert the array into a string of those values separated by a comma and a space.