Correspondence


Jul. 5, 2024

Analogue Correspondence Card Games

To play a card game like poker by correspondence would require the decks to be exactly the same sequence in both locations similar to correspondence chess where the boards must be exactly the same states in both locations. (For simplicity I am speaking on the assumption of two players, but for n players the rule remains.)

However unlike chess where the players can openly see the state of the board, the players in a card game like poker must be unaware of the state of the deck. This makes things trickier, and so both players must perform a shared seeded blind shuffle of their decks, the goal being to have both shuffle their decks fairly but result in the same unknown sequences.

More…

Jul. 4, 2024

Correspondence Poker by Seeded Random

I enjoy correspondence chess, plaintext computing, stateless APIs and Jamstack, and I also enjoy poker; so a while back I created a means of playing poker by correspondence via linked webpages: Plaintext-Poker (repo).

This utilises a seeded random (actually Java’s Random ported to Javascript!) to ensure that players stay on the same deck and same game state without any memory being used anywhere. It does this in a stateless fashion by using the seed to perform the exact same previous actions for each stage, given the seed via the URL, with a player number, the number of players and the game stage also included.

More…