Skip to content

A poker implementation with assistance of LLMs, generative AI

License

Notifications You must be signed in to change notification settings

arlind29/poker_via_llm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

poker_via_llm

This is a poker implementation with assistance of an LLM. It is not a complete implementation, but it is good enough to start playing via console. There might be some small edits on the code, but most of the code is obtained via generative AI:

The promot sequence is more or less as it follows:

  • I want to write code in Python for a poker game, texas holdem. I would like the game to be played completely on console. I would like player cards to be shown, the floor cards and the pots. Can you help me with such code?

  • I would like only the hand of the current player to be visible. For the others, we can show the back of the cards

  • I would like for the game to take into account for actions such as fold and check

The game interaction looks like this:

image

About

A poker implementation with assistance of LLMs, generative AI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages