Inspiration

Saw Poker Help Bots on Poe but no playable poker game

What it does

ChatGPT plays a poker game with the user over chat.

How we built it

There are two Poe bots working together. PlayPoker is a server bot that uses a python poker library (pokerlib) to keep track of the gameplay. It uses the Poe protocol to play a full poker game over chat. When it is the AI's turn to make a move, PokerExpert, a prompt bot, is called. The game state is sent to ChatGPT and a formatted response with the "best" move is returned to PlayPoker to further the game.

Challenges we ran into

It wasn't easy to have persistent storage between requests to the bot server. Needed to use external database or store binaries to a Modal volume.

Accomplishments that we're proud of

PokerExpert (prompt bot) was able to return a format response containing a desired move with a brief reasoning. PlayPoker is able to call PokerExpert and receive an action with which it can further the game.

What we learned

5 hrs isn't quite enough to build out a full poker game

What's next for PlayPoker

Finish it and actually make it work. Allow for multiplayer. Bet Poe credits??

Built With

  • modal
  • poe
  • pokerlib
Share this project:

Updates