Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Texas Hold'em for VRChat

A Texas Hold'em game prefab for VRChat worlds · By ThisIsBennyK

Incorrect Winner with Kicker Cards

A topic by AdeonWriter created Aug 20, 2024 Views: 219 Replies: 6
Viewing posts 1 to 7
(1 edit)

This table has a problem - in a situation where it's one pair vs one pair, and the person with the lower pair has a higher kicker, it makes the winner the one with the higher kicker. this also applies to two pair, and likely anything that has a kicker.

The higher kicker should only matter when the pairs/kinds are equal, and kickers can only be checked on hands that don't already use 5 cards.

Developer

Do you remember or have screenshots of the one pairs / two pairs in question?

(20 edits)

I'll try to get screenshots but as a test -

P1: AA
P2 Q3
Board: 3KK44

Best hands should evaluate to AAKK(4) vs KK44(Q) and p1 should win the pot without checking the kickers.

Also HighCard should actually have 4 of the highest unused cards be kickers to be evaluated, 1Pair should have 3 kickers, 3Kind should have 2 kickers, 4Kind and 2Pair should only have 1 kicker, and Flushes, Straights, and Houses should not have any kickers; you're submitting the 5 cards out of 7 that make the best hand, with any empty spaces up to 5 being the kickers.

The remaining unused 6th and 7th cards should never be evaluated at all under any condition, they aren't being played and should never count for tie breakers.


Developer

I’m aware of how kickers work, but that’s a good concise explanation of them.
Are you saying that P2 won instead? If so, that is a problem.

(7 edits) (+1)

Yes. Here's an example:

P1: A 9
P2: Q 10 (Picture's perspective)

Board: 3 9 Q 8 K

P1 has Pair of Nines: 9 9 (A K Q)
P2 has a Pair of Queens: Q Q (K 10 9)


Pair of Queens should beat Pair of 9's, but the game awards P1 the winner because when hands are of same type it seems to only cares who has the higher kicker, or perhaps it's doing something weird with score? Either way it awards the wrong winner and by our counts it seems to always award the higher kicker as the winner instead of who had the higher value pair.

Twitch Clip from P1's perspective:
https://clips.twitch.tv/ColdSweetLeopardItsBoshyTime-DW9G6uU3L9ynuaaE

this also happens for two pair. not sure if it happens for higher hands since those are rarer. ie, fullhouses should compare the value of their triplets to see who wins, then the value of their pairs, ie, 33322 should beat 222AA even though the "score points" of the second one are much higher.

Developer

Thanks for providing evidence, I’ll get it fixed when I’ve got the time

Developer

This issue should be fixed in the latest version. Please let me know if you encounter it again!