Discussion

Ask HN: How to Represent a Poker Game State?

In Chess we can represent a game as a FEN string or a PGN, is there any equivalent in poker?

If not, what are the values that make up the state of a poker hand? Cards dealt to each player, community cards, pot, etc.

How would you represent this in the most efficient way, whilst maintaining all of the necessary information?

1 points torbet 3 years ago 2 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton