Answers.Body: <p>This is normally handled by considering hand isomorphisms. So in pre-flop Texas holdem there are 169 isomorphisms, consisting of 13 pairs of the same rank, 78 suited pairs of different rank and 78 unsuited pairs of different rank. You can take a similar approach to post-flop boards. Iirc there are 1755 isomorphic flops, 16432 turns, and about 127000 rivers, quite a few of which are nut rivers. Google &quot;A fast and optimal hand isomorphism algorithm&quot;</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-27T11:02:51.440Z
Answers.LastActivityDate: 2023-12-27T12:57:42.587Z
Answers.LastEditDate: 2023-12-27T12:57:42.587Z
Answers.UserDisplayName: Michael Burrows
Body: <p>In poker, a standard deck of 52 cards is used. Each card has one of 13 ranks, ranging from Ace to Deuce, and one of 4 suits: Spades, Hearts, Diamonds, or Clubs.</p>
  <p>The rank of a card is crucial. For instance, holding an Ace and a Jack is significantly different from holding a King and a Jack, or an Ace and a Seven.</p>
  <p>However, the suit of a card doesn’t hold individual importance. What matters is whether the cards share the same suit or not. For example, holding the King of Clubs and the Jack of Diamonds is equivalent to holding the King of Hearts and the Jack of Spades.</p>
  <p>Poker players often talk about whether their cards are suited (sharing the same suit) or offsuit (having different suits). They describe the cards on the board as monotone, two-tone, or rainbow, and talk about holding a flush draw or backdoor flush draw. These terms don’t refer to the suit of an individual card, but rather to the pattern of suits among all the cards.</p>
  <p>So, when encoding cards for a game of poker, it’s important to reflect these aspects. Instead of encoding the suit of each card, we should encode the relationships between the suits of all the cards. This approach captures the essence of how suits function in poker.</p>
  <p>So, how can we create an encoding scheme that captures these relationships between the suits of cards in poker?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-06T11:13:59.677Z
Comments.Text: https://ojs.aaai.org/index.php/AAAI/article/view/20394/20153
Comments.UserDisplayName: Alberto
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-09T14:25:02.853Z
Comments.Text: @Alberto, can you add your thought about the article?  I think that this article does not answer this question because it do not use any encoding for suits.  See Effective Game State Representation: "1) there is no abstraction of the card information thus reserves all the game information"
Comments.UserDisplayName: Cohensius
Tags: <game-ai><one-hot-encoding><poker>
Title: How can we create an encoding scheme that captures these relationships between the suits of cards in poker?
UserDisplayName: Kasia
ThreadText: # How can we create an encoding scheme that captures these relationships between the suits of cards in poker?
  
  (Asked by: username_0 on 2023-11-06)
  
  In poker, a standard deck of 52 cards is used. Each card has one of 13 ranks, ranging from Ace to Deuce, and one of 4 suits: Spades, Hearts, Diamonds, or Clubs.
  
  The rank of a card is crucial. For instance, holding an Ace and a Jack is significantly different from holding a King and a Jack, or an Ace and a Seven.
  
  However, the suit of a card doesn’t hold individual importance. What matters is whether the cards share the same suit or not. For example, holding the King of Clubs and the Jack of Diamonds is equivalent to holding the King of Hearts and the Jack of Spades.
  
  Poker players often talk about whether their cards are suited (sharing the same suit) or offsuit (having different suits). They describe the cards on the board as monotone, two-tone, or rainbow, and talk about holding a flush draw or backdoor flush draw. These terms don’t refer to the suit of an individual card, but rather to the pattern of suits among all the cards.
  
  So, when encoding cards for a game of poker, it’s important to reflect these aspects. Instead of encoding the suit of each card, we should encode the relationships between the suits of all the cards. This approach captures the essence of how suits function in poker.
  
  So, how can we create an encoding scheme that captures these relationships between the suits of cards in poker?
  
  **Tags:** game-ai, one-hot-encoding, poker
  > **Comments:**
  > **username_1**: https://ojs.aaai.org/index.php/AAAI/article/view/20394/20153  
  > **username_2**: @Alberto, can you add your thought about the article?  I think that this article does not answer this question because it do not use any encoding for suits.  See Effective Game State Representation: "1) there is no abstraction of the card information thus reserves all the game information"  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2023-12-27. Score: 0
  
  This is normally handled by considering hand isomorphisms. So in pre-flop Texas holdem there are 169 isomorphisms, consisting of 13 pairs of the same rank, 78 suited pairs of different rank and 78 unsuited pairs of different rank. You can take a similar approach to post-flop boards. Iirc there are 1755 isomorphic flops, 16432 turns, and about 127000 rivers, quite a few of which are nut rivers. Google "A fast and optimal hand isomorphism algorithm"
  
  
  ---
  
  