Blackjack Bots (Game over)

For completed/abandoned Mish Mash Games.
StrangerCoug
Does not Compute
 
User avatar
Joined: May 06, 2008
Location: San Antonio, Texas
Pronoun: He

Post Post #25  (ISO)  » Sun Oct 04, 2020 10:12 pm

R2-D21 should have $160,000 left, not $140,000. Will correct.
STRANGERCOUG: Stranger Than You!
Current avatar by PurryFurry of FurAffinity.

Nancy Drew 39
Survivor
 
User avatar
Joined: January 14, 2018
Location: in my head
Pronoun: She

Post Post #26  (ISO)  » Mon Oct 05, 2020 12:13 am

In post 24, StrangerCoug wrote:I've been informed by Nancy Drew 39 that ND bot's name should not start with a leading period; all reference to the bot have been edited to delete it.


Thanks.
Thing with Nancy is we just need to tread carefully because if you slip up around her as scum she notices and will tear your spine out and slap you to death with it.

(I'm slightly scared of Nancy)
~ the worst

Sirius9121
Mafia Scum
 
User avatar
Joined: May 31, 2020
Location: Minecraft (Timezone: GMT+8)
Pronoun: He

Post Post #27  (ISO)  » Mon Oct 05, 2020 1:38 am

My bot name should be Apple Siri. I forgot to mention so.
If you ask Rick Astley for his copy of the movie 'Up', he can not give it to you as he will never give you up.
However, by refusing to do so, he lets you down.
Thus creating the Astley Paradox.
*glares at Sirius*Well played my friend, well played. - Aristophanes

StrangerCoug
Does not Compute
 
User avatar
Joined: May 06, 2008
Location: San Antonio, Texas
Pronoun: He

Post Post #28  (ISO)  » Mon Oct 05, 2020 8:07 am

Will edit it in.
STRANGERCOUG: Stranger Than You!
Current avatar by PurryFurry of FurAffinity.

inspiratieloos
Goon
 
User avatar
Joined: February 13, 2011
Location: The Netherlands
Pronoun: He

Post Post #29  (ISO)  » Mon Oct 05, 2020 8:25 am

I think my bot should have bet the minimum round 2, I think you may have based the bet on Count instead of TCount?

Sirius9121
Mafia Scum
 
User avatar
Joined: May 31, 2020
Location: Minecraft (Timezone: GMT+8)
Pronoun: He

Post Post #30  (ISO)  » Mon Oct 05, 2020 8:28 am

I thought my bet strategy was 'average of all'?
If you ask Rick Astley for his copy of the movie 'Up', he can not give it to you as he will never give you up.
However, by refusing to do so, he lets you down.
Thus creating the Astley Paradox.
*glares at Sirius*Well played my friend, well played. - Aristophanes

StrangerCoug
Does not Compute
 
User avatar
Joined: May 06, 2008
Location: San Antonio, Texas
Pronoun: He

Post Post #31  (ISO)  » Mon Oct 05, 2020 8:52 am

In post 29, inspiratieloos wrote:I think my bot should have bet the minimum round 2, I think you may have based the bet on Count instead of TCount?

I did indeed make that error. Will correct.

In post 30, Sirius9121 wrote:I thought my bet strategy was 'average of all'?

Thanks. (Edited to add: It was actually slightly different, but it clearly should not have been defaulting to flat-betting $5,000.) Forgot to save that part; will correct to reflect this.
STRANGERCOUG: Stranger Than You!
Current avatar by PurryFurry of FurAffinity.

StrangerCoug
Does not Compute
 
User avatar
Joined: May 06, 2008
Location: San Antonio, Texas
Pronoun: He

Post Post #32  (ISO)  » Mon Oct 05, 2020 9:07 am

The play of the hands have been edited to reflect the corrections pointed out to me. If there are any further corrections that need to be made, let me know. You have until 24 hours after I post hand 10 (so plenty of time :P).
STRANGERCOUG: Stranger Than You!
Current avatar by PurryFurry of FurAffinity.

Sirius9121
Mafia Scum
 
User avatar
Joined: May 31, 2020
Location: Minecraft (Timezone: GMT+8)
Pronoun: He

Post Post #33  (ISO)  » Mon Oct 05, 2020 9:11 am

um

that's kinda not what I meant for my bet..
If you ask Rick Astley for his copy of the movie 'Up', he can not give it to you as he will never give you up.
However, by refusing to do so, he lets you down.
Thus creating the Astley Paradox.
*glares at Sirius*Well played my friend, well played. - Aristophanes

StrangerCoug
Does not Compute
 
User avatar
Joined: May 06, 2008
Location: San Antonio, Texas
Pronoun: He

Post Post #34  (ISO)  » Mon Oct 05, 2020 9:14 am

I'll PM you.
STRANGERCOUG: Stranger Than You!
Current avatar by PurryFurry of FurAffinity.

StrangerCoug
Does not Compute
 
User avatar
Joined: May 06, 2008
Location: San Antonio, Texas
Pronoun: He

Post Post #35  (ISO)  » Mon Oct 05, 2020 9:43 am

I'm going to be transparent about a mod decision I made as regards Apple Siri: Sirius9121 had intended the bot to be the average of all other player's bets, not of all other player's stacks. To do that from other than the last spot in the turn order requires looking into at least one other bot's programming, which is strictly disallowed (bets are sequential, not simultaneous). I felt like the best way to rectify the bot's programming is to allow it to bet the average of all bot's from the previous hand, while going by the average of the bets of the bots before it in hand 1. While allowing programming changes in the 24-hour rest period after an elimination hand was originally a planned feature, I had removed it in the final version.
STRANGERCOUG: Stranger Than You!
Current avatar by PurryFurry of FurAffinity.

StrangerCoug
Does not Compute
 
User avatar
Joined: May 06, 2008
Location: San Antonio, Texas
Pronoun: He

Post Post #36  (ISO)  » Mon Oct 05, 2020 11:28 am

HAND 3/30
First turn comes to ND bot, which once again makes the minimum bet of $5,000. Next, R2-D21 bets $48,000, Apple Siri bets $85,000, Minimalist Bot bets $25,000 again, and Zen Count/Basic bets $20,000.
BotHandTotalBetStack
Minimalist BotImageImage
14
$25,000
$987,500
Zen Count/BasicImageImage
Soft 20
$20,000
$965,000
ND botImageImage
8
$5,000
$985,000
R2-D21ImageImage
5
$48,000
$112,000
Apple SiriImageImage
9
$85,000
$855,000
DealerImageImage
3

ND, not unsurprisingly, hits, with a seven giving it a hard 15, on which it stands. R2-D21 fails to surprise with its hit either and ends up hitting twice, with a two and then an eight also giving it a hard 15 on which it opts to stand. Apple Siri elects to double, but only gets a two for the extra money it pays, eliciting gasps from the audience as the rules of doubling force it to remain on 11. But Siri might still have a chance, as Minimalist Bot opts to stay on hard 14. Zen also stands, happy with its 20.

The dealer flips over its hole card...
BotHandTotalBetStack
Minimalist BotImageImage
14
$25,000
$987,500
Zen Count/BasicImageImage
Soft 20
$20,000
$965,000
ND botImageImageImage
15
$5,000
$985,000
R2-D21ImageImageImageImage
15
$48,000
$112,000
Apple SiriImageImageImage
11
$170,000
$770,000
DealerImageImageImage
17

...to reveal a jack and a hard 13, on which it, of course must hit. It draws a 4 to give it 17, then stands.

Minimalist Bot loses $25,000.
Zen Count/Basic wins $20,000.
ND bot loses $5,000.
R2-D21 loses $48,000.
Apple Siri loses $170,000.


Zen takes the lead at $995,000 that should be $1,005,000 as the game tightens among the top three, with only $20,000 separating the gold from the bronze at this point. Apple Siri suffers its first major loss, as R2-D21 continues its worrying descent from which it is still trying to recover. The first three seats have become the ones to watch as Hand 4 awaits our bots.
STRANGERCOUG: Stranger Than You!
Current avatar by PurryFurry of FurAffinity.

StrangerCoug
Does not Compute
 
User avatar
Joined: May 06, 2008
Location: San Antonio, Texas
Pronoun: He

Post Post #37  (ISO)  » Mon Oct 05, 2020 6:51 pm

HAND 4/30
R2-D21 is first to act in this hand and bets $34,000 of its remaining $112,000 as it attempts to recover after three bad beats in a row. Apple Siri follows with a bet of $54,000, Minimalist Bot follows with yet another $25,000, Zen Count/Basic increases its bet to $50,000, and ND bot continues to soldier on with its flat-betting of the minimum, perhaps hoping to win it slow and steady.
BotHandTotalBetStack
Minimalist BotImageImage
6
$25,000
$962,500
Zen Count/BasicImageImage
19
$50,000
$955,000
ND botImageImage
14
$5,000
$980,000
R2-D21ImageImage
15
$34,000
$76,000
Apple SiriImageImage
16
$54,000
$716,000
DealerImageImage
3

R2-D21 and Apple Siri both opt to stand on their hands, hoping the dealer will finally go bust and pay out to everyone. Minimum Bot knows it likely won't win on just a six, though, so it hits, picking up a seven and then standing on a hard 13. Zen Count/Basic stands on its 19, as does ND bot on its 14.

All that matters now is the dealer...
BotHandTotalBetStack
Minimalist BotImageImageImage
13
$25,000
$962,500
Zen Count/BasicImageImage
19
$50,000
$955,000
ND botImageImage
14
$5,000
$980,000
R2-D21ImageImage
15
$34,000
$76,000
Apple SiriImageImage
16
$54,000
$716,000
DealerImageImageImage
23
OVER!

The dealer flips over a 10 in the hole and takes a card from the shoe, which turns up a jack! The dealer goes over, and the crowd cheers as all five bots see their stacks added to.

Minimalist Bot wins $25,000.
Zen Count/Basic wins $50,000.
ND bot wins $5,000.
R2-D21 wins $34,000.
Apple Siri wins $54,000.

R2-D21, while still far behind in last, makes a much-needed recovery to $144,000. Apple Siri sees its hundred-thousands place tick back up by one and now sits on $824,000, ND bot's stack increases to $990,000, Minimalist Bot once again has $1,012,500, and Zen Count/Basic leads with $1,055,000. These bots hope their win streaks continue in the next hand, which will mark the halfway point before the first elimination...
STRANGERCOUG: Stranger Than You!
Current avatar by PurryFurry of FurAffinity.

Nancy Drew 39
Survivor
 
User avatar
Joined: January 14, 2018
Location: in my head
Pronoun: She

Post Post #38  (ISO)  » Tue Oct 06, 2020 12:30 am

How do I improve my odds? I was only betting the minimum because I really had no clue what I was doing.
Thing with Nancy is we just need to tread carefully because if you slip up around her as scum she notices and will tear your spine out and slap you to death with it.

(I'm slightly scared of Nancy)
~ the worst

inspiratieloos
Goon
 
User avatar
Joined: February 13, 2011
Location: The Netherlands
Pronoun: He

Post Post #39  (ISO)  » Tue Oct 06, 2020 12:54 am

Bet high when the deck is beneficial to the player, bet low when the deck is beneficial to the dealer, make optimal moves during the game itself.

I'll leave you to figure out how to do that :P

Nancy Drew 39
Survivor
 
User avatar
Joined: January 14, 2018
Location: in my head
Pronoun: She

Post Post #40  (ISO)  » Tue Oct 06, 2020 1:08 am

In post 39, inspiratieloos wrote:Bet high when the deck is beneficial to the player, bet low when the deck is beneficial to the dealer, make optimal moves during the game itself.

I'll leave you to figure out how to do that :P


If we could have just bet on players, I’d have bet high on Zen, since he was closest to 20, so maybe please explain the bolded to me then?
Thing with Nancy is we just need to tread carefully because if you slip up around her as scum she notices and will tear your spine out and slap you to death with it.

(I'm slightly scared of Nancy)
~ the worst

inspiratieloos
Goon
 
User avatar
Joined: February 13, 2011
Location: The Netherlands
Pronoun: He

Post Post #41  (ISO)  » Tue Oct 06, 2020 1:24 am

Your bot can remember what happened in previous hands, you can use that to determine whether you're more likely to win or lose before the next hand starts and base your bet on that.

For example my bot calculated it had a slightly under 50% chance of winning the first two hands so it bet minimum, then for the 3rd and 4th hands the odds were slightly over 50% so it bet higher.

Nancy Drew 39
Survivor
 
User avatar
Joined: January 14, 2018
Location: in my head
Pronoun: She

Post Post #42  (ISO)  » Tue Oct 06, 2020 3:27 am

In post 41, inspiratieloos wrote:Your bot can remember what happened in previous hands, you can use that to determine whether you're more likely to win or lose before the next hand starts and base your bet on that.

For example my bot calculated it had a slightly under 50% chance of winning the first two hands so it bet minimum, then for the 3rd and 4th hands the odds were slightly over 50% so it bet higher.


Well, how do I do that then, program my bot to act like yours?
Thing with Nancy is we just need to tread carefully because if you slip up around her as scum she notices and will tear your spine out and slap you to death with it.

(I'm slightly scared of Nancy)
~ the worst

inspiratieloos
Goon
 
User avatar
Joined: February 13, 2011
Location: The Netherlands
Pronoun: He

Post Post #43  (ISO)  » Tue Oct 06, 2020 3:30 am

That would be telling. :P

StrangerCoug
Does not Compute
 
User avatar
Joined: May 06, 2008
Location: San Antonio, Texas
Pronoun: He

Post Post #44  (ISO)  » Tue Oct 06, 2020 7:04 pm

Feel like giving this a break today; will continue tomorrow.
STRANGERCOUG: Stranger Than You!
Current avatar by PurryFurry of FurAffinity.

StrangerCoug
Does not Compute
 
User avatar
Joined: May 06, 2008
Location: San Antonio, Texas
Pronoun: He

Post Post #45  (ISO)  » Wed Oct 07, 2020 12:04 pm

HAND 5/30
Apple Siri bets first and wagers $34,000. Minimalist Bot, who up until now had been flat-betting $25,000, this time bets a more aggressive $304,000, Zen Count/Basic also increases its bet from last hand and puts up $80,000, ND bot continues to bet $5,000, and R2-D21 bets $43,000.

BotHandTotalBetStack
Minimalist BotImageImage
20
$304,000
$708,500
Zen Count/BasicImageImage
Soft 21
BLACKJACK!
$80,000
$975,000
ND botImageImage
Soft 18
$5,000
$985,000
R2-D21ImageImage
Soft 16
$43,000
$101,000
Apple SiriImageImage
12
$34,000
$790,000
DealerImageImage
10

A 10 comes up as the upcard, which means that, although it cannot ask for insurance, it still must check for blackjack. Zen Count/Basic eyes the dealer and the card reader carefully. If the dealer has an ace in the hole, Zen pushes while everyone else loses. Any other downcard for the dealer and Zen is $120,000 richer.

Spoiler: The dealer inserts its hand into the card reader...
...which tells it it does NOT have a blackjack! Very good news for Zen, who gets to enjoy its 3:2 blackjack bonus!

Apple Siri hits its hand not once, not twice, but three times. The first two cards both come up a deuce and the second comes up a four, prompting Siri to call for a stand on 18. While Zen Count/Basic is enjoying its chicken dinner—however bots manage to eat—Minimalist Bot hits its 20! Even with a pair of tens, you'd expect most bots to stand. Does it have a bug in its programming? Nevertheless, the dealer must accept the command to hit, and only an ace can save Minimalist from making an expensive mistake... and instead it pays for it with a four, busting it with a 24. ND bot hits its soft 18, which is more reasonable since if a soft hand goes over 21, the ace becomes worth 1 and it becomes a hard hand. That's exactly what happens when a king comes out of the shoe, and ND then stands on a hard 18. R2-D21 also hits its soft 16, which is made a hard 16 with a jack, and then hits again, drawing a king and busting on 26.

It all comes down to the dealer. We know it doesn't have an ace, but what DOES it have?
BotHandTotalBetStack
Minimalist BotImageImageImage
24
OVER!
$304,000
$708,500
Zen Count/BasicImageImage
Soft 21
BLACKJACK!
$80,000
$975,000
ND botImageImageImage
18
$5,000
$985,000
R2-D21ImageImageImageImage
26
OVER!
$43,000
$101,000
Apple SiriImageImageImageImageImage
18
$34,000
$790,000
DealerImageImageImage
22
OVER!

It has a six and must hit on 16. It draws an eight, busting it on 22 and paying out not only to Zen, but also ND and Siri.

Minimalist Bot loses $304,000.
Zen Count/Basic wins $120,000.
ND bot wins $5,000.

R2-D21 loses $43,000.
Apple Siri wins $34,000.


R2-D21 falls back down to $101,000, while Minimalist Bot's blunder causes it to slip to fourth. Apple Siri takes third and goes up to $858,000, ND bot goes back up to $995,000, and Zen Count/Basic leads the pack with $1,075,000. What awaits our bots for Hand 6?
Last edited by StrangerCoug on Fri Oct 09, 2020 9:10 am, edited 11 times in total.
STRANGERCOUG: Stranger Than You!
Current avatar by PurryFurry of FurAffinity.

Ircher
What A Grand Idea
 
User avatar
Joined: November 09, 2015
Location: EST/EDT
Pronoun: He

Post Post #46  (ISO)  » Wed Oct 07, 2020 12:39 pm

rip.... I can confirm that this is a bug in the programming (and how I didn't notice is beyond me...)
Last edited by Ircher on Wed Oct 07, 2020 2:52 pm, edited 1 time in total.
Links: User Page | Player Ratings
Hosting: Level Up 2 - Active [8/4+]
Upcoming: Now accepting pre-ins for a 13p mini theme! [0/6]
Theorem of the Week: The Fundamental Theorem of Counting: If there are m ways to do something and n ways of doing something else, then there are m * n ways of doing both actions.

StrangerCoug
Does not Compute
 
User avatar
Joined: May 06, 2008
Location: San Antonio, Texas
Pronoun: He

Post Post #47  (ISO)  » Wed Oct 07, 2020 1:44 pm

Corrected Zen's total after the end of the hand; it should now be at $1,175,000, not $1,125,000.
STRANGERCOUG: Stranger Than You!
Current avatar by PurryFurry of FurAffinity.

StrangerCoug
Does not Compute
 
User avatar
Joined: May 06, 2008
Location: San Antonio, Texas
Pronoun: He

Post Post #48  (ISO)  » Wed Oct 07, 2020 8:24 pm

HAND 6/30
Minimalist Bot returns to the top of the turn order and bets $25,000. Zen Count/Basic drops its bet back down to $50,000, ND bot continues its strategy of flat-betting the minimum, a tilted R2-D21 bets $30,000, and Apple Siri hopes to make a comeback with a bet of $94,000.
BotHandTotalBetStack
Minimalist BotImageImage
12
$25,000
$679,500
Zen Count/BasicImageImage
11
$50,000
$1,125,000
ND botImageImage
18
$5,000
$995,000
R2-D21ImageImage
11
$30,000
$71,000
Apple SiriImageImage
8
$94,000
$696,000
DealerImageImage
10

Once again, a ten is the dealer's upcard. Once again, none of the bots want the hole card to be an ace. Two bots have an 11, a good hand to double on, but they can't if dealer has a blackjack.

Spoiler: The dealer once again checks its hole card...
...and once again it is not an ace, and therefore no blackjack.

Minimalist Bot hits its 12 and draws a queen, busting it fair and square on 22. Zen Count/Basic unsurprisingly doubles on its eleven and also gets a queen—what a difference a single point makes in this game! Now Zen can only win or push, as 21 can never lose. ND is happy standing on its hard 18, whereas R2-D21 hits its 11 and gets a nine for its money, putting it at 20—it can only lose to 21. Siri hits its eight and ends up with a king, prompting a stand on 18.

The dealer, as always, is last. We know what it doesn't have, but that's not as important now as what it DOES have...
BotHandTotalBetStack
Minimalist BotImageImageImage
22
OVER!
$25,000
$679,500
Zen Count/BasicImageImageImage
21
$100,000
$1,075,000
ND botImageImage
18
$5,000
$995,000
R2-D21ImageImageImage
20
$60,000
$41,000
Apple SiriImageImageImage
18
$94,000
$696,000
DealerImageImageImage
22
OVER!

...which is a 13 to start with, with a hit giving it a nine and busting it on 22. Both doubles pay off, and only Minimalist loses money this hand.

Minimalist Bot loses $25,000.
Zen Count/Basic wins $100,000.
ND bot wins $5,000.
R2-D21 wins $60,000.
Apple Siri wins $94,000.


R2-D21, who has been in the most jeopardy of elimination since the first hand concluded, recovers to $161,000. Minimalist Bot stays in fourth, Apple Siri roars back to $884,000, ND bot has $1,005,000, and Zen Count/Basic extends its lead and now has $1,275,000. How lucky will hand 7 be for our bots?
Last edited by StrangerCoug on Wed Oct 07, 2020 9:10 pm, edited 1 time in total.
STRANGERCOUG: Stranger Than You!
Current avatar by PurryFurry of FurAffinity.

StrangerCoug
Does not Compute
 
User avatar
Joined: May 06, 2008
Location: San Antonio, Texas
Pronoun: He

Post Post #49  (ISO)  » Wed Oct 07, 2020 8:25 pm

I accidentally overwrote Hand 5 with hand 6; will reconstruct the former hand later.
STRANGERCOUG: Stranger Than You!
Current avatar by PurryFurry of FurAffinity.

PreviousNext
[ + ]

Return to Sens-O-Tape Archive