Page 1 of 1

bug- randomised card generation algorythm

Posted: Fri Apr 22, 2022 1:42 am
by haydencharles
i have actually kept the statistics of bad beats for all-in bets and the data conclusively shows there's a bad-beat bias.
rather than just cry foul at all the times i thought i was hard done by, i thought i should actually make sure i wasn't just being a loser... nope. is there source code avaiilablle for the random number generation? because this is not helping my real world game if i have been training here to call when behind.
polease and thank you

Re: bug- randomised card generation algorythm

Posted: Fri Apr 22, 2022 8:44 pm
by boehmi
No offence, but I've seen you playing and your stats show it.

The more players stay in a hand the weaker your hands get and the likelier it is to get beaten on the river. So if you play very aggressively early on with a few other bingo players then these "bad beats" happen more often.

About the RNG you have to wait for sp0ck's answer. As far as I know it uses the OS's RNG. The source code is available here https://github.com/pokerth/pokerth

Where is your evidence?

Re: bug- randomised card generation algorythm

Posted: Wed Apr 27, 2022 2:11 pm
by haydencharles
no offense? why say it then? given you can only see my placings in the stats, and last season i had more wins than any other position, you can stick it. i play on the other side of the world so half the time i fall asleep mid-game... e.a.d.

i deleted it unfortunately - i didn't see a notification of the reply, but expected a "you suck" answer like yours.
I had a running count in the chat the other day of all the times people were behind preflop and outdrew to win. it was 4/2. that doesn't add up

but whatever, i'll check out the code

Re: bug- randomised card generation algorythm

Posted: Wed Apr 27, 2022 2:57 pm
by haydencharles
----------- Game: 1 | Hand: 3 -----------
BLIND LEVEL: $50 / $100
Seat 1: haydencharles ($4400)
Seat 2: RAVA ($9800)
Seat 3: rioloco31 ($14550)
Seat 4: Paolo ($6600)
Seat 5: Mercedes ($10000)
Seat 6: Harry1 ($9450)
Seat 7: Floh2011 ($9800)
Seat 8: rnk ($8850)
Seat 9: eon8888 ($17150)
Seat 10: papillon555 ($9400)
BLINDS: haydencharles ($50), RAVA ($100)
papillon555 starts as dealer.

PREFLOP
rioloco31 calls $100.
Paolo calls $100.
Mercedes folds.
Harry1 calls $100.
Floh2011 calls $100.
rnk bets $200.
eon8888 calls $200.
papillon555 folds.
haydencharles bets $1650.
RAVA folds.
rioloco31 folds.
Paolo folds.
Harry1 folds.
Floh2011 folds.
rnk is all in with $8650.
eon8888 folds.
haydencharles is all in with $2700.
haydencharles shows [Jd,Jc]
rnk shows [Ad,9c]

FLOP [board cards 8d,2h,4d]

TURN [board cards 8d,2h,4d,3s]

RIVER [board cards 8d,2h,4d,3s,5c]
haydencharles has [ Jd,Jc] - One Pair, Jacks
rnk has [ Ad,9c] - Straight, Five high
rnk wins $13950
haydencharles sits out

Re: bug- randomised card generation algorythm

Posted: Wed Apr 27, 2022 3:16 pm
by boehmi
haydencharles wrote: Wed Apr 27, 2022 2:11 pm ... last season i had more wins than any other position...
Really? You had 34 places 7 and 8 each and "only" 33 wins. Your strategy seems to be to double or triple up early on. Once you succeeded you can outplay the remaining players. This strategy doesn't seem to be as successful as you think and you complain.
haydencharles wrote: Wed Apr 27, 2022 2:11 pm I had a running count in the chat the other day of all the times people were behind preflop and outdrew to win. it was 4/2. that doesn't add up
but whatever, i'll check out the code
It's called variance, happens to all of us. But in the long run it levels out to the expected value.

In your example above you were a ~ 3:1 favourite preflop. It's quite good, but 1 out of 4 times you lose this hand on average. This time you lost. This is no proof that the cards are not dealt randomly.

My reaction was merely because we get such complains every now and then, mostly from the not so skilled players...

Re: bug- randomised card generation algorythm

Posted: Wed May 11, 2022 9:11 pm
by Jeff
I was trying to join an open table and wasn't able to because a note said that some other player was using my network address. How can I fix this?

Re: bug- randomised card generation algorythm

Posted: Thu May 12, 2022 9:49 pm
by boehmi
The error message is misleading. The real reason is that we restrict players to 4 games per hour to prevent "playing bingo" too much.

And why don't you open a new thread? It has nothing to do with this topic.