https://github.com/candytale55/counting_cards_fcc_js
Card counting function that increments or decrements a global count variable according to the card's value on a table of values. Returns a string with the current count and the string "Bet" if the count is positive, or "Hold" if the count is zero or negative.
https://github.com/candytale55/counting_cards_fcc_js
code-practice counting-cards freecodecamp javascript javascript-functions
Last synced: about 2 months ago
JSON representation
Card counting function that increments or decrements a global count variable according to the card's value on a table of values. Returns a string with the current count and the string "Bet" if the count is positive, or "Hold" if the count is zero or negative.
- Host: GitHub
- URL: https://github.com/candytale55/counting_cards_fcc_js
- Owner: candytale55
- Created: 2021-03-14T10:00:21.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-14T10:49:45.000Z (over 4 years ago)
- Last Synced: 2023-05-29T01:20:59.508Z (over 2 years ago)
- Topics: code-practice, counting-cards, freecodecamp, javascript, javascript-functions
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0