[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Is card counting really this easy? I had an assignment to create

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 11
Thread images: 3

File: Capture.jpg (56KB, 1198x394px) Image search: [Google]
Capture.jpg
56KB, 1198x394px
Is card counting really this easy?

I had an assignment to create a card counter at FreeCodeCamp. It explained it to me, but having never played blackjack before, it was a little confusing for a moment. I finally made this little program, which passed FreeCodeCamp's tests. I tried to comment as best I could for people who don't know any programming. I barely do myself.

I thought card counting was something that was impossible for regular people, and that only abnormally fast minds could do it (like Rainman). But this program makes it seem very simple. Just addition or subtraction by 1 or 0 based off what the card dealer deals? I think I could do that.

I hope it's this simple because I turn 21 in September.
>>
File: FinalBBSchart.png (23KB, 500x500px) Image search: [Google]
FinalBBSchart.png
23KB, 500x500px
>>9135311
You have to have friends to count effectivelly.
>>
>I turn 21 in September
and you're still on codecademy tier shit? I was at your level when I was 14, step up lad
>>
>>9135311
Now try it with eight decks using only your own unassisted memory.
>>
>>9135328
I just started. I got into C# and Unity in highschool but I didn't pursue it after. I'm liking web development so far though.
>>
File: interrogation_aid.jpg (162KB, 600x600px) Image search: [Google]
interrogation_aid.jpg
162KB, 600x600px
>>9135311
have you ever seen the movie 21?
you're gonna get "interrogated" by security
>>
>>9135336
You just get a lifetime ban, no one gets their ass kicked anymore
>>
>>9135325
That isn't card counting, shit they hand this out in casinos, the house still has the edge
>>
>>9135328
14? Pshh. I was coding on microcontrollers when I was 12. Get on my level bro.
>>
>>9137004
12? Meh, I was developing the theory behind quantum computation when I was 9. Git gud
>>
>>9135311
You can gamble on Indian reservations under the age of 21.

Also at casinos they usually switch to a fresh deck halfway through.

Also that is not optimal. Why would you make a program to calculate a suboptimal rule of thumb that was meant to be done mentally when you could make it calculate the actual probabilities?

Please don't ever be involved in programming anything that people will use.
Thread posts: 11
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.