Skip to content

Elytride/adacadabra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

adacadabra Poker AI

adacadabra is a poker AI designed to play Texas Hold'em within the PyPokerGUI framework.

How it Works

The AI makes strategic decisions based on several factors:

  • Hand Strength: Evaluates the current strength of its hand using both hole cards and community cards.
  • Hand Potential: Calculates the potential for improving the hand on future streets (draws).
  • Pot Odds: Considers the ratio of the current pot size to the cost of calling a bet.
  • Position: Adjusts playing style based on the player's position relative to the dealer button.
  • Table Aggression: Performs a simple analysis of opponent actions to gauge aggression.

Strategy

adacadabra employs a dynamic strategy that adapts to the game state:

  • General Play: Balances hand strength, potential, and pot odds to decide between folding, calling, and raising.
  • Chip Lead Adjustment: Plays tighter and more cautiously when holding a significant chip lead.
  • Short Stack Play: Becomes more willing to go all-in with a wider range of hands when short-stacked.
  • Bluffing: Incorporates a basic bluffing strategy based on position, number of opponents, and board texture.

The AI aims to make rational decisions based on available information, with some elements of randomness to prevent predictability.

About

a poker playing python bot for a hackathon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages