Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vagyasri/counting-cards
I have created a card counting function. It will receive a card parameter, which can be a number or a string, and increment or decrement the global count variable, according to the card's value. The function will then return 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/vagyasri/counting-cards
Last synced: 30 days ago
JSON representation
I have created a card counting function. It will receive a card parameter, which can be a number or a string, and increment or decrement the global count variable, according to the card's value. The function will then return 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/vagyasri/counting-cards
- Owner: Vagyasri
- License: mit
- Created: 2021-11-10T11:05:11.000Z (about 3 years ago)
- Default Branch: Develop
- Last Pushed: 2022-06-23T09:21:30.000Z (over 2 years ago)
- Last Synced: 2023-03-06T18:02:30.759Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 617 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0