Counting Cards, freeCodeCamp Basic Javascript

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=zgs06k00YIE



Duration: 9:45
19,959 views
242


In this basic Javascript freeCodeCamp challenge we create a card counting function in javascript. A card counting function can be used in games like blackjack to help guess what card may or may not be coming next. A javascript card counting function can be written using switch statements that decrements, increments, or doesn't change when our function is called and updates our global count variable each time we count a card. We learn that by keeping track of how many high cards or low cards are left in the game, we can better guess when to bet or when to hold off.

Support the Movement, buy a sticker, https://believerationally.com/shop​

Check out Bae's products and crafts https://ValeryeDoesResin.com​

Listen to some of my music, https://Ananomyx.com




Other Videos By We Will Code


2017-03-24Manipulating Complex Objects, freeCodeCamp Basic Javascript
2017-03-22Testing Objects for Properties, freeCodeCamp Basic Javascript
2017-03-22Using Objects for Lookups, freeCodeCamp Basic Javascript
2017-03-22Delete Properties from a Javascript Object, freeCodeCamp Basic Javascript
2017-03-22Add New Properties to a Javascript Object, freeCodeCamp Basic Javascript
2017-03-22Updating Object Properties, freeCodeCamp Basic Javascript
2017-03-22Accessing Objects Properties with Variables, freeCodeCamp Basic Javascript
2017-03-22Accessing Objects Properties with Bracket Notation, freeCodeCamp Basic Javascript
2017-03-22Accessing Objects Properties with the Dot Operator, freeCodeCamp Basic Javascript
2017-03-22Build Javascript Objects, freeCodeCamp Basic Javascript
2017-03-22Counting Cards, freeCodeCamp Basic Javascript
2017-03-21Return Early Pattern for Functions, freeCodeCamp Basic Javascript
2017-03-21Returning Boolean Values from Functions, freeCodeCamp Basic Javascript
2017-03-21Replacing If Else Chains with Switch, freeCodeCamp Basic Javascript
2017-03-21Multiple Identical Options in Switch Statements, freeCodeCamp Basic Javascript
2017-03-20Adding a default option in Switch statements, freeCodeCamp Basic Javascript
2017-03-20Selecting from many options with Switch Statements, freeCodeCamp Basic Javascript
2017-03-20Golf Code, freeCodeCamp Basic Javascript
2017-03-20Chaining If Else Statements, freeCodeCamp Basic Javascript
2017-03-20Logical Order in If Else Statements, freeCodeCamp Basic Javascript
2017-03-20Introducing Else If Statement, freeCodeCamp Basic Javascript



Tags:
freeCodeCamp tutorial
freeCodeCamp review
learn javascript
javascript card counter
card counting