Open AI codex seems to work best when you tell it to write specific functions with clearly defined rules.
I would expect the OAI to understand player hands during a round of poker. With the following instructions I can simulate a new round of poker. The question I’m pondering is how could I tell OAI to simulate several rounds of poker keeping track of every player hand?
/* Create a deck of poker cards. Each suit has cards 1 to 10 which is 1 to 10 points, a jack card is 10 points, a queen card is 10 points, a king card is 10 points and an ace card is 11 points. */
/* create a function to shuffle the cards */
/* console.log(shuffle(cards)) */
/* deal 5 cards from the deck of cards */