Thread Rating:

Wizard
Administrator
Wizard
  • Threads: 1491
  • Posts: 26435
Joined: Oct 14, 2009
February 26th, 2012 at 10:30:09 AM permalink
One project that has been in the queue at my Odds site for at least a year has been a play for free version of Ultimate Texas Hold Em. I really wanted an advice feature, which is not easy in this game. After the flop there are combin(47,2)*combin(45,2)=1,070,190 possible combinations. Seven-card poker hands are also slower to score than five cards. However, with a combination of Java and JavaScript, JB managed to get the job done.

So, please beta test our new game (click the link above) before I announce it on the Odds site. As always, I welcome all comments and corrections.
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
dwheatley
dwheatley
  • Threads: 25
  • Posts: 1246
Joined: Nov 16, 2009
February 26th, 2012 at 10:32:55 AM permalink
Thanks Wizard!

My first comment: it would be nice if there was a way to suppress the advice. Options include a checkbox, roll-over, or an option to have a pop up warn you if you click the wrong one.
Wisdom is the quality that keeps you out of situations where you would otherwise need it
odiousgambit
odiousgambit
  • Threads: 326
  • Posts: 9556
Joined: Nov 9, 2009
February 26th, 2012 at 10:49:29 AM permalink
Hooray! Was wishing bigtime for this, thank you !

I usually assume my Java is working fine, but I do not seem to be getting advice. Or how does it work, how should I be seeing it?
the next time Dame Fortune toys with your heart, your soul and your wallet, raise your glass and praise her thus: “Thanks for nothing, you cold-hearted, evil, damnable, nefarious, low-life, malicious monster from Hell!”   She is, after all, stone deaf. ... Arnold Snyder
FinsRule
FinsRule
  • Threads: 128
  • Posts: 3914
Joined: Dec 23, 2009
February 26th, 2012 at 11:09:21 AM permalink
I was playing on my phone and you've got a serious bug. I don't know how to attach the pic, but my hand had 5 2 of clubs in it.

Edit - perhaps it is the JavaScript issue...
SOOPOO
SOOPOO
  • Threads: 121
  • Posts: 10940
Joined: Aug 8, 2010
February 26th, 2012 at 11:16:02 AM permalink
How many descks? I got 4 deuces 3 times in the first dozen hands or so. Once was all clubs.
Dween
Dween
  • Threads: 66
  • Posts: 339
Joined: Jan 24, 2010
February 26th, 2012 at 11:17:10 AM permalink
So, just how many decks are being used in this game? :)

-Dween!
mustangsally
mustangsally
  • Threads: 25
  • Posts: 2463
Joined: Mar 29, 2011
February 26th, 2012 at 11:33:44 AM permalink
Me too
I raised after the flop and it said that was not the best play.
Then I saw the cards!
I Heart Vi Hart
pokerface
pokerface
  • Threads: 12
  • Posts: 514
Joined: May 9, 2010
February 26th, 2012 at 12:03:33 PM permalink
man, the cards are not random.
I got 4 deuces every hand
winning streaks come and go, losing streak never ends.
s2dbaker
s2dbaker
  • Threads: 51
  • Posts: 3259
Joined: Jun 10, 2010
February 26th, 2012 at 12:41:56 PM permalink
Quote: Wizard

Seven-card poker hands are also slower to score than five cards. However, with a combination of Java and JavaScript, JB managed to get the job done.

Perhaps next time, I could consult on this. My poker scoring algorithm works on thousands of seven card hands per second.
Someday, joor goin' to see the name of Googie Gomez in lights and joor goin' to say to joorself, "Was that her?" and then joor goin' to answer to joorself, "That was her!" But you know somethin' mister? I was always her yuss nobody knows it! - Googie Gomez
s2dbaker
s2dbaker
  • Threads: 51
  • Posts: 3259
Joined: Jun 10, 2010
February 26th, 2012 at 12:54:08 PM permalink
I got four 2 of clubs as well. I think someone has a few extra cards up their sleeves.

Someday, joor goin' to see the name of Googie Gomez in lights and joor goin' to say to joorself, "Was that her?" and then joor goin' to answer to joorself, "That was her!" But you know somethin' mister? I was always her yuss nobody knows it! - Googie Gomez
dwheatley
dwheatley
  • Threads: 25
  • Posts: 1246
Joined: Nov 16, 2009
February 26th, 2012 at 2:28:52 PM permalink
I starting playing again to see if I could get lots of 2c. I just got three 2c on my second hand. Full house, full of 2c! woohoo
Wisdom is the quality that keeps you out of situations where you would otherwise need it
Wizard
Administrator
Wizard
  • Threads: 1491
  • Posts: 26435
Joined: Oct 14, 2009
February 26th, 2012 at 2:47:02 PM permalink
It is just raining the 2 of clubs isn't it? I'll let JB know about it. It is doing it to me now too.

The game now enabled between advice always/upon mistake/or never, with radio buttons at the top.

Thanks for the offer of help with the scoring of 7-card hands. I may hit you up for help on that sometime. The way I do it now is if there is not flush possible then the logic is pretty straightforward. If there is a flush possible it still determines the best non-suited hand, and then the best suited-hand, and takes the higher of the two. It is significantly faster than scoring all combin(7,5)=21 possible 5-card poker hands out of 7 cards.
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
winmonkeyspit3
winmonkeyspit3
  • Threads: 26
  • Posts: 451
Joined: Dec 30, 2011
February 26th, 2012 at 3:25:02 PM permalink
Experiencing the same thing with the 2 of spades. Otherwise, great game. Would really enjoy the option to not take advice on your blackjack game if that is something that could be easily implemented!
s2dbaker
s2dbaker
  • Threads: 51
  • Posts: 3259
Joined: Jun 10, 2010
February 26th, 2012 at 3:25:41 PM permalink
I also check for a flush first, here is a pile of code from Cameltoe Poker:

Select    @l_temp = cameltoe.dbo.f_eval_flush( @c1, @c2, @c3, @c4, @c5, @c6, @c7 ) ;
If @l_temp = 0
Begin
Select @l_temp = cameltoe.dbo.f_eval_straight( @c1, @c2, @c3, @c4, @c5, @c6, @c7 ) ;
If @l_temp = 0
Begin
Select @l_temp = cameltoe.dbo.f_eval_pair( @c1, @c2, @c3, @c4, @c5, @c6, @c7 ) ;
If @l_temp = 0
Select @l_return = cameltoe.dbo.f_eval_nothing( @c1, @c2, @c3, @c4, @c5, @c6, @c7 ) ;
Else
Begin
Select @l_return = cameltoe.dbo.f_eval_four( @c1, @c2, @c3, @c4, @c5, @c6, @c7 ) ;
If @l_return = 0
Select @l_return = cameltoe.dbo.f_eval_fh( @c1, @c2, @c3, @c4, @c5, @c6, @c7 ) ;
If @l_return = 0
Select @l_return = cameltoe.dbo.f_eval_three( @c1, @c2, @c3, @c4, @c5, @c6, @c7 ) ;
If @l_return = 0
Select @l_return = cameltoe.dbo.f_eval_twopair( @c1, @c2, @c3, @c4, @c5, @c6, @c7 ) ;
If @l_return = 0
Set @l_return = @l_temp
End
End
Else
Set @l_return = @l_temp
End
Else
Begin
Select @l_return = cameltoe.dbo.f_eval_sf( @c1, @c2, @c3, @c4, @c5, @c6, @c7 ) ;
If @l_return = 0
Set @l_return = @l_temp
End
Return @l_return ;
End ;
It branches a couple of times. The idea is to evaluate as few hands as possible before deciding what the hand actually is.

For a hand that is a flush, the only better thing is a straight flush to it goes through that grinder twice.
The hand that costs the most computing power is two pair which goes:
Flush? No!
Straight? No!
Pair? Yes!
Four of a Kind? No!
Full House? No!
Three of a Kind? No!
Two Pair? Yes! or No! Then it must be a pair.

I would save a few steps if I branched at Three of a Kind instead of at Pair, I think I'll rework this a little bit and see if I can punch it up.
Someday, joor goin' to see the name of Googie Gomez in lights and joor goin' to say to joorself, "Was that her?" and then joor goin' to answer to joorself, "That was her!" But you know somethin' mister? I was always her yuss nobody knows it! - Googie Gomez
FinsRule
FinsRule
  • Threads: 128
  • Posts: 3914
Joined: Dec 23, 2009
February 26th, 2012 at 5:39:55 PM permalink
Does anyone know the right strategy to play this game? I think loading up on trips is good because your odds of getting 4 of a kind with all 2 of clubs is pretty good.

But in terms of raising, should you raise 4x if you have a 2 of clubs? Because you'll usually pair, but it's the lowest pair. Thoughts?
teddys
teddys
  • Threads: 150
  • Posts: 5527
Joined: Nov 14, 2009
February 26th, 2012 at 5:40:48 PM permalink
Oh, no! Four deuces on the board, and the dealer gets the fifth deuce! Beaten by five of a kind!

Very nice work, of course, beyond the obvious bugs. Slicker than the game that is available at discountgambling.net (maybe you should hire Stephen?)

Why the inordinately bad paytable on Trips? I've never seen a paytable like that in a real casino.
"Dice, verily, are armed with goads and driving-hooks, deceiving and tormenting, causing grievous woe." -Rig Veda 10.34.4
UCivan
UCivan
  • Threads: 84
  • Posts: 843
Joined: Sep 3, 2011
February 26th, 2012 at 7:15:34 PM permalink
WOO, Why don't you have the Trips-Ante-Blind-Play look exactly like SM's layout, Trips on the top and Play at the bottom? Is the design patented and U have to avoid it?
Wizard
Administrator
Wizard
  • Threads: 1491
  • Posts: 26435
Joined: Oct 14, 2009
February 26th, 2012 at 8:16:18 PM permalink
The game is working again! There was a glitch in the shuffling routine for a while. So, please try again.

Quote: UCivan

WOO, Why don't you have the Trips-Ante-Blind-Play look exactly like SM's layout, Trips on the top and Play at the bottom? Is the design patented and U have to avoid it?



Yeah, that is basically the issue. It is Shufflemaster's game and I don't want to be too egregious about using it.
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
WongBo
WongBo
  • Threads: 62
  • Posts: 2126
Joined: Feb 3, 2012
February 26th, 2012 at 8:23:43 PM permalink
Hi Wiz, I have to thank you for the free play games on your site.
Your website is already the hands-down best gambling site ever devised,
And the addition of the games makes it even better.
I would never dream of playing CSP, LIR, 3CP, or UTH for money but now I get to enjoy them for free!
I love the pai gow tiles the most, although I wish it were programmed for optimal instead of house way!
Keep up the great work!
In a bet, there is a fool and a thief. - Proverb.
UCivan
UCivan
  • Threads: 84
  • Posts: 843
Joined: Sep 3, 2011
February 26th, 2012 at 9:16:17 PM permalink
WOO, why do U feel the need to compete against discountgambling.net? It has a practice module too. Do U agree with his play strategy?
rama13
rama13
  • Threads: 1
  • Posts: 4
Joined: Feb 8, 2012
February 26th, 2012 at 9:47:45 PM permalink
The Trips paytable on the layout is wrong for any iteration of a game seen in a casino.

The "WIN" box does not add if there was a payout on the blind (straight or higher).
Wizard
Administrator
Wizard
  • Threads: 1491
  • Posts: 26435
Joined: Oct 14, 2009
February 26th, 2012 at 9:55:51 PM permalink
Quote: UCivan

WOO, why do U feel the need to compete against discountgambling.net? It has a practice module too. Do U agree with his play strategy?



I didn't know he had one. Even if I did, it isn't that I'm competing with him, I just want to do my own version. I'm sure his strategy is fine, but I haven't analyzed it.
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
RoyalBJ
RoyalBJ
  • Threads: 33
  • Posts: 260
Joined: Jul 18, 2011
February 26th, 2012 at 9:59:52 PM permalink
Here it is Discount Gambling - UTH
Wizard
Administrator
Wizard
  • Threads: 1491
  • Posts: 26435
Joined: Oct 14, 2009
February 26th, 2012 at 10:04:24 PM permalink
Quote: rama13

The Trips paytable on the layout is wrong for any iteration of a game seen in a casino.



You're right. Thanks, good catch.

Quote: rama13

The "WIN" box does not add if there was a payout on the blind (straight or higher).



It does for me. Can anybody else corroborate the above?
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
mustangsally
mustangsally
  • Threads: 25
  • Posts: 2463
Joined: Mar 29, 2011
February 26th, 2012 at 10:27:20 PM permalink
Quote: Wizard

It does for me. Can anybody else corroborate the above?

Works fine for me too.
I was almost busted, playing crazy, and hit 6 blind bet winners of straights or better. The last 3 were full houses.
The win box on my computer showed the correct amount each time.
proof of the last
I Heart Vi Hart
stephenhow
stephenhow
  • Threads: 0
  • Posts: 4
Joined: Feb 26, 2012
February 26th, 2012 at 10:54:26 PM permalink
Nice game! I like your on-the-fly calculations for best decision, someone asked me for that feature, but I wasn't going to put it in my Flash game.

I think the more info/options for the players the better! There's no competition here; I don't care about anything other than vanity hits for my site :) I *do* care about players *not* giving any EV back to the house.

It'd be good to show the player the actual dollar cost of the wrong decision(s), like I did in my recent Mississippi Stud calculator. This might be the only way to get people to bet their hands (they check way too much at the tables).

Thanks for the links to my site over the years!
Steve
odiousgambit
odiousgambit
  • Threads: 326
  • Posts: 9556
Joined: Nov 9, 2009
February 27th, 2012 at 12:53:17 AM permalink
much better now!

however, there could be a glitch in advice? for the shown situation, I get scolded for trying to raise:





sorry for the tiny pics. The situation is, I have a pair of 4s, one of the 4s is in my hole cards. Shouldnt I raise?

pic 1

pic 2

#@%$#@ can't get a bigger pic. Umm, out of time, if you know how to enlarge the whole screen you can see them better. [hit control/+]
the next time Dame Fortune toys with your heart, your soul and your wallet, raise your glass and praise her thus: “Thanks for nothing, you cold-hearted, evil, damnable, nefarious, low-life, malicious monster from Hell!”   She is, after all, stone deaf. ... Arnold Snyder
Wizard
Administrator
Wizard
  • Threads: 1491
  • Posts: 26435
Joined: Oct 14, 2009
February 27th, 2012 at 8:44:56 AM permalink
Quote: stephenhow

Thanks for the links to my site over the years!Steve



Steve, nice to hear from you! I hope all is well with you. For those who don't know, Steve How is the genius behind one of the best gambling sites on the web discountgambling.net/.

I've tried to write to you the last few years but didn't get a reply. Maybe I have a bad Email address. Can you PM me with your best contact information.

Welcome to my forum and I hope you'll stick around.
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
MrRalph
MrRalph
  • Threads: 17
  • Posts: 148
Joined: Jun 8, 2011
February 27th, 2012 at 10:14:51 AM permalink
Thanks for the game with the advice. I played yesterday and only noticed the abundance of 2 of clubs but you have now fixed that. If the casino could only make that mistake once in a while.
dwheatley
dwheatley
  • Threads: 25
  • Posts: 1246
Joined: Nov 16, 2009
February 27th, 2012 at 10:16:08 AM permalink
Quote: odiousgambit

much better now!

however, there could be a glitch in advice? for the shown situation, I get scolded for trying to raise:

sorry for the tiny pics. The situation is, I have a pair of 4s, one of the 4s is in my hole cards. Shouldnt I raise?



You don't raise bottom pairs against scary boards, like straight or flush draws.

I don't think Stephen caught the straight problem in his strategy (he knows about not raising against flush draws), but I've noticed it from playing too many practice rounds with the calculator on. I plugged your hand into the wiz's calculator, and it confirms you should check. It's borderline, -0.584 vs -0.574.
Wisdom is the quality that keeps you out of situations where you would otherwise need it
odiousgambit
odiousgambit
  • Threads: 326
  • Posts: 9556
Joined: Nov 9, 2009
February 27th, 2012 at 12:06:14 PM permalink
Quote: dwheatley

You don't raise bottom pairs against scary boards, like straight or flush draws.

I don't think Stephen caught the straight problem in his strategy (he knows about not raising against flush draws), but I've noticed it from playing too many practice rounds with the calculator on. I plugged your hand into the wiz's calculator, and it confirms you should check. It's borderline, -0.584 vs -0.574.



Thanks. Interesting. The calculator would seem to trump the webpage, which perhaps is simpler. Good to know the WoO Game is not just suffering a glitch.
the next time Dame Fortune toys with your heart, your soul and your wallet, raise your glass and praise her thus: “Thanks for nothing, you cold-hearted, evil, damnable, nefarious, low-life, malicious monster from Hell!”   She is, after all, stone deaf. ... Arnold Snyder
dwheatley
dwheatley
  • Threads: 25
  • Posts: 1246
Joined: Nov 16, 2009
February 27th, 2012 at 12:17:38 PM permalink
The Wizard's strategy gives up more than 1.3% in edge (playing at 3.5%), and still isn't that easy to learn. Stephen claims his is 2.2% vs 2.1% optimal, so I have been going by that.

I biggest error I know about is the strategy says to play any non-pocket pair against an off-suit board. Instead, you should check some low pairs against some straight draws. I have no idea about the details.
Wisdom is the quality that keeps you out of situations where you would otherwise need it
odiousgambit
odiousgambit
  • Threads: 326
  • Posts: 9556
Joined: Nov 9, 2009
February 27th, 2012 at 12:30:35 PM permalink
Quote: dwheatley

Stephen claims his is 2.2% vs 2.1% optimal, so I have been going by that.



where do you find that strategy?
the next time Dame Fortune toys with your heart, your soul and your wallet, raise your glass and praise her thus: “Thanks for nothing, you cold-hearted, evil, damnable, nefarious, low-life, malicious monster from Hell!”   She is, after all, stone deaf. ... Arnold Snyder
dwheatley
dwheatley
  • Threads: 25
  • Posts: 1246
Joined: Nov 16, 2009
February 27th, 2012 at 12:31:16 PM permalink
http://discountgambling.net/ultimate-texas-holdem/
Wisdom is the quality that keeps you out of situations where you would otherwise need it
Woldus
Woldus
  • Threads: 14
  • Posts: 215
Joined: Jan 13, 2011
February 27th, 2012 at 1:09:49 PM permalink
Wiz - nice job! You only owe me $3,850 because I stopped at $8,850 - I didn't want to run it up too much. Had I lost I certainly would've sent you a check....
odiousgambit
odiousgambit
  • Threads: 326
  • Posts: 9556
Joined: Nov 9, 2009
February 27th, 2012 at 1:23:25 PM permalink
Quote: dwheatley

http://discountgambling.net/ultimate-texas-holdem/



Thanks. Looks like I'll be able to laminate it and use it too. Will take time to fully decipher that jargon/slang though!
the next time Dame Fortune toys with your heart, your soul and your wallet, raise your glass and praise her thus: “Thanks for nothing, you cold-hearted, evil, damnable, nefarious, low-life, malicious monster from Hell!”   She is, after all, stone deaf. ... Arnold Snyder
teddys
teddys
  • Threads: 150
  • Posts: 5527
Joined: Nov 14, 2009
February 27th, 2012 at 1:48:28 PM permalink
I find this game endlessly fascinating. I also play the StephenHow strategy. (Sorry, WoO, yours is just too complicated. But nice having options!). I've found most of his strategy points jibe with the Wizard of Odds calculator (another great resource, btw). There are very few deviations and most of them are small with 0.01-0.02 variance.

I play this game a lot and am ahead on it, thanks mostly to a $900 straight flush I hit a year or two ago with $10 ante/$10 trips. (I never play that much anymore; only $5 antes, no trips).
"Dice, verily, are armed with goads and driving-hooks, deceiving and tormenting, causing grievous woe." -Rig Veda 10.34.4
Triplell
Triplell
  • Threads: 9
  • Posts: 342
Joined: Aug 13, 2010
February 27th, 2012 at 7:01:39 PM permalink
Played about 4 or 5 hands...why can't this happen to me when it's real money?

rama13
rama13
  • Threads: 1
  • Posts: 4
Joined: Feb 8, 2012
February 27th, 2012 at 7:19:04 PM permalink
Quote: Wizard

It does for me. Can anybody else corroborate the above?



It seems to be working now.
rama13
rama13
  • Threads: 1
  • Posts: 4
Joined: Feb 8, 2012
February 27th, 2012 at 7:24:49 PM permalink
I just got 3-of-a-kind, and it looks like it only paid me 2:1 on my Trips bet -- but I think this was due to the fact the cheques look similar, and I think there was a diff. denomination there....So...Nevermind.
odiousgambit
odiousgambit
  • Threads: 326
  • Posts: 9556
Joined: Nov 9, 2009
February 28th, 2012 at 10:58:00 AM permalink


Seems odd that I would get a straight flush too, after not so many as all that. If a glitch, an odd one.
the next time Dame Fortune toys with your heart, your soul and your wallet, raise your glass and praise her thus: “Thanks for nothing, you cold-hearted, evil, damnable, nefarious, low-life, malicious monster from Hell!”   She is, after all, stone deaf. ... Arnold Snyder
SONBP2
SONBP2
  • Threads: 88
  • Posts: 289
Joined: Nov 17, 2009
February 29th, 2012 at 2:31:59 PM permalink
Right play?? (Sorry can't seem to attach the picture).

Dealt: 2D and 4H check
Flop: KD 10C JD check
4th and River: AH and AS, I attempted to fold. Game recommended I Play. I lost. The only hand I would beat would be 2 3, not sure why I would play.
WongBo
WongBo
  • Threads: 62
  • Posts: 2126
Joined: Feb 3, 2012
February 29th, 2012 at 2:40:55 PM permalink
You would push a lot of hands just playing the board as well.
Unless dealer had a T,J,Q,K, or A.
Still I would think it was better to fold
In a bet, there is a fool and a thief. - Proverb.
UCivan
UCivan
  • Threads: 84
  • Posts: 843
Joined: Sep 3, 2011
February 29th, 2012 at 8:29:51 PM permalink
Quote: SONBP2

Right play?? (Sorry can't seem to attach the picture).

Dealt: 2D and 4H check
Flop: KD 10C JD check
4th and River: AH and AS, I attempted to fold. Game recommended I Play. I lost. The only hand I would beat would be 2 3, not sure why I would play.

reason - play the board. Board cards are all high. u could push. Dealer gets bad cards like players. If there was no pair on the board, with 5 high cards, when dealer did not pair up with the board, your Ante would be pushed. Why not play?
Triplell
Triplell
  • Threads: 9
  • Posts: 342
Joined: Aug 13, 2010
March 4th, 2012 at 8:35:12 PM permalink
The link on your website doesn't seem to link to this game..
painlesswon
painlesswon
  • Threads: 6
  • Posts: 22
Joined: Jan 12, 2012
March 5th, 2012 at 12:40:42 PM permalink
Thanks for all the great “stuff”. Now Ihave a game to play other than pai gow tiles!!!!
On your new game, I can’t get the “advice” at all....I have Java 1.6 working on Safari osX Lion.....do u have idea why?
Also, enjoying radio show a lot.
painlesswon
painlesswon
  • Threads: 6
  • Posts: 22
Joined: Jan 12, 2012
March 6th, 2012 at 11:01:23 AM permalink
You are a wizard! All of a sudden this am I am getting advice on my UTH game!
  • Jump to: