Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

$100,000 Poker Bot Tournament

Posted by timothy on Sun Jun 12, 2005 08:28 PM
from the upped-my-bet-now-up-yours-robot dept.
Costa Galanis writes "The LA Times is reporting that a poker tournament will be held where engineers will be able to pit their automatic poker-playing programs against each other in a tournament similar to the upcoming World Series of Poker main event, with a 100,000 dollar cash prize for the winning program. The article mentions how the recent rise in popularity of poker has encouraged many to try and create the poker equivalent of chess' Big Blue, the chess playing computer program that defeated the world's top chess player in a widely publicized event, and also talks about how many engineers also are trying to make bots that are good enough to play and beat human players for money in online casinos."
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Bluffing. (Score:4, Insightful)

    by glrotate (300695) on Sunday June 12 2005, @08:32PM (#12798871) Homepage
    Any poker player will tell you bluffing is where it's at. Without bluffing you play the odds and it just becomes a simple game of chance. The bluffing algorithms are were the interesting work will be.
    • Re:Bluffing. (Score:5, Interesting)

      by kraada (300650) on Sunday June 12 2005, @08:44PM (#12798967)
      Granted, bluffing is definitely a good thing. That's why a really good poker bot absolutely must bluff. I presume these bots use game theoretical algorithms to decide when and how often to bluff.

      If two bots were identical and one bluffed 3% of the time (and didn't bluff away all of his chips), in the long run the bluffing bot should win. Because the non-bluffing bot will believe the bluffing bot has a hand those extra 3% of hands, and thus the bluffing bot will in the long run win more than half of the hands and do better in the long run.

      The interesting question is how often one should program the computer to bluff in what situations. . .
        • Re:Bluffing. (Score:4, Informative)

          by Sancho (17056) on Monday June 13 2005, @02:08AM (#12800564) Homepage
          The real key is bluffing and counter-bluffing, calling bluffs based on the statistics of the community cards, etc. Just randomly bluffing would be suicide against a bot who plays solely on the statistics, because you'd eventually end up dumping a load of money on a hand with no draws (other than a pair of whatever crap you have in your hand).

          No, there's a skill to bluffing. While a good poker player can bluff with 2-7 off suit, just randomly throwing money into the pot really isn't the way to go.
    • Re:Bluffing. (Score:5, Informative)

      by wmajik (688431) <wmajik@@@yahoo...com> on Sunday June 12 2005, @08:55PM (#12799050) Homepage Journal
      Parent is somewhat right. Bluffing can be an integral part of the game, depending on the format of the game being played, along with the limit played (amount of cash wagered).

      In a high stakes game or no-limit game, bluffing is very common, because every bet and action often involves a significant amount of money and little mistakes over the course of a session can end up costing large sums of money. Thus, bluffing becomes a viable weapon in these game formats because you can use your opponents' fear of making mistakes against him.

      However, in a small stakes game, bluffing is often close to impossible, as many players are simply put, unbluffable. With the current poker boom, the skill level of the average player has decreased considerably; often causing poorly skilled players to play hands in a very losing fashion, such as showing Ace high at the showdown. Against these type of players, a bluff is generally quite ineffective and a losing proposition, since the theory behind bluffing is to force your opponent to fold a better hand. Thus, when your opponent simply does not fold, the point becomes moot.

      As such, it would actually be easier to create a bot that plays low-stakes poker, as a non-bluff game involves simple math, decision trees and a bit of fuzzy logic. What it is not however, is a game of chance, as it is still a profitable game that has edges to be exploited.

      This has been a bit off topic, but I wanted to clear up the notion that poker comes down to chance, when there is very solid mathematical theory behind it.
      • The point of bluffing is to convince the other players that you ARE bluffing when you've actually got a good hand. Then you can milk them for all they've got. If you're bluffing a low hand, you should be prepared to lose. In fact, you should be expecting it.

        There's a 'rule' in texas hold'em: If the other players are playing loose, you play tight. If the other players are playing tight, you find another table. Some games really can't be bluffed.

        And I want to clear this up: an indivual game is still a
        • by spasmatik (550523) on Sunday June 12 2005, @10:38PM (#12799757)
          Please come sit at my table. Your expert strategy would be a wonder to watch.
            • by Anonymous Coward
              A strategy I often use when playing new poker players is to get them to think that I bluff a lot.

              I bluff a lot early in the night, then I start playing tight later in the night.

              Then, when I get a really good hand, and bet hard, I get a few people to come in with me, because I've got them into the mindset that they have me figured out. They "know" I'm bluffing.

              It's all about letting them think they have you figured out.
      • I wanted to clear up the notion that poker comes down to chance, when there is very solid mathematical theory behind it.

        The classic book [amazon.com] on this subject is by David Sklansky. Highly recommended.

    • Re:Bluffing. (Score:5, Interesting)

      Without bluffing you play the odds and it just becomes a simple game of chance

      Not true at all. To be a successful player, you must detect patterns in your opponents' play so you can infer whether you are likely to be ahead of them, and how to maximize the pot when you think you're going to win. This is very difficult for computers to do, even with sophisticated learning algorithms.
  • Eliza (Score:3, Funny)

    by GreatRedShark (880833) on Sunday June 12 2005, @08:32PM (#12798879)
    I'm going to submit a modded version of Eliza. It will win by confusing the other bots into submission! :) :P
    • Re:Eliza (Score:5, Funny)

      by Anonymous Coward on Sunday June 12 2005, @08:36PM (#12798917)
      Please, tell me more about confusing the other bots into submission. How often do you confusing the other bots into submission?
  • The bot... (Score:3, Funny)

    by EntropyMan (628831) on Sunday June 12 2005, @08:33PM (#12798887)
    "Cause the bot always wins. You play long enough, never change the stakes, the bot takes you. Unless, when that perfect hand comes along, you bet big, and then you take the bot." - Danny Ocean
  • by Zeussy (868062) on Sunday June 12 2005, @08:35PM (#12798896) Homepage
    Microsoft Poker on Windows 3.1. Just make a huge bet and all the computers Fold :P

    1. Let openents Place you their bets.
    2. Place a stupidly huge bet.
    3. They fold.
    4. Profit!
  • Deep Blue (Score:5, Informative)

    by Anonymous Coward on Sunday June 12 2005, @08:35PM (#12798897)
    The chess machine is Deep Blue. It was created by IBM (AKA Big Blue).
  • by The Clockwork Troll (655321) on Sunday June 12 2005, @08:37PM (#12798923)
    At the end of an age marked by wealth-making products and services with style and no substance, is it that surprising that one of the most popular recreations has become seeing who can bullshit most deftly?

    Perhaps the winning program could be reconfigured to create business plans?

  • by nokilli (759129) on Sunday June 12 2005, @08:38PM (#12798933)
    Whenever my poker bot goes "all in", my mudd bot somehow gets the idea that it's time to start slaying all of the other players.

    I think what is required here is clear and concise rules on what kind of weaponry the bots get to wield.

    Also, I don't think bots should get to wear sunglasses.
  • by Capt'n Hector (650760) on Sunday June 12 2005, @08:42PM (#12798955)
    Over the long run that is. A pokerbot:
    1. Has a perfect poker face,
    2. Can count cards,
    3. Can compute probability,
    4. Has no emotions, so it won't get stressed or tired,
    5. And will always make the right move probability-wise.
    • by kraada (300650) on Sunday June 12 2005, @08:51PM (#12799029)
      Clearly you don't understand Texas Hold-'em. There is no card counting required, beyond to 6 (two in your hand, 4 on the table). Any player who is so bad that he can't read the board isn't going to be a challenge to anybody decent.

      Since decks are made out of 52 cards, and you get two of them, it gets very easily to calculate probabilities for a human (mostly involves multiplying by 2).

      Finally, making the probabalistic move every time will not do as well, because if you do that you would absolutely never bluff. A bot to be good in the long run must bluff, otherwise it is far too predictable and you can gain too much information from its bets and raises.

      To give a quick example: If there's 100$ in the pot, and the bot bets 10$, I need to believe I'll win 1/11 times in order to justify my call. If I know that the bot never bluffs and only bets there when he's best, I can fold every time and save 10$. If the bot bluffs 1/11 times though, I suddenly have an actually complicated decision. And note if I fold those complicated decisions every time I lose more money, because he is betting more hands and I am folding each time he bets.

      So no, straight up probabilities simply won't cut it.

      (For more information, see Sklansky's Theory of Poker.)
              • I know that poker is played with a 52 card deck. What I meant is that these is no need to simulate 5 decks worth of cards, since the computer can radomly draw cards as if you had an infinite number of decks shuffled into one gigantic never ending pile.

                You still seem confused. Every hand in poker is played with a single deck; there are no 5 decks of cards like in blackjack. Take 52 cards, shuffle, deal the hand, repeat. That's it.
  • a 100,000 dollar cash prize for the winning program

    What would a computer program do with $100,000? Build a cluster to run itself on?

  • Don't let the posters who say "just enumerate all possibilities" fool you.

    The hardest part of playing poker is "reading" your opponents' hands -- learning how they tend to play, and inferring what cards they are likely to hold, whether they are bluffing or slow-playing, etc.

    It may be easy to read a poker bot's style of play, but reading good human players is extremely difficult. So even if a certain bot crushes the competition in this tournament, it may not do so well against humans.
  • by Londovir (705740) on Sunday June 12 2005, @09:03PM (#12799103)
    As someone else pointed out, the main key to how successful bots will become in poker is the algorithms that conclude if a hand is "bet worthy". Obviously probability is easy for a bot to calculate; my high school students calculate card hand odds in my statistics class for homework. You can go even further by calculating rudimentary risk-reward odds to determine if the potential cash payoff for this current pot, combined with the probability you have for making your hand, combined with the probability the flop gives your opponents better hands than your own, etc.

    The key, clearly, is the way your program "behaves" in response to opponent betting. You could code a program that only plays based on the probability of achieving a winning hand in a statistical sense. (IE, if my pocket has a 75% chance of becoming a hand that will beat 65% of all possible hands, then play it regardless) That wouldn't obviously play that well, since the bot won't consider opponent betting. However, if your bot regards opponent betting, it will easily become susceptible to power bluffing if the algorithm doesn't guard against it. (Hence, you have routines like poorly written cell phone games where you just have to come out of the blocks betting like mad and you'll 90% of the time bluff the bot out of the hand)

    I wouldn't be surprised if some of the more ingenious bots would be a medley of pure probability, observed opponent behavior (for trend matching with a fixed opponent), and a database of "real life" situations. If I were to design a bot for poker, and had the resources, I'd be sorely tempted to first host an online poker website and take a ton of samples from actual, online play. You have the advantage (right now, at least) of being able to record everyone's exact hands (at every stage of the hand) as well as everyone's betting. You could distill that into a form of database where you could try and match a bot's hand to a pre-existing condition case, and determine, along with your other ranking criteria, what a human player once did with that same hand, and whether that player won or not.

    Londovir I could see bots taking over after awhile, but it's going to take some time...and even then, it should be entertaining to watch programmers trying to tweak their bot to beat another bot, sometimes without even knowing they are going up against another bot.

  • Hidden markov models (Score:5, Interesting)

    by G4from128k (686170) on Sunday June 12 2005, @09:10PM (#12799155)
    One approach to this is to assume that the other players are markov processes with unknown internal states [mit.edu] (sorry for the PDF) . Gathering enough data (and probing the opponents with various betting strategies) helps estimate the internal patterns of the opponents. Humans are terrible at creating random patterns needed for perfect playing strategies. This approach can be used, for example, to create a hard-to-beat paper-rock-scissors game that quickly found the non-random patterns in human players.
  • Poker is Hard (Score:5, Informative)

    I did a little bit of work recently at UofA with the poker group.

    Poker is a hard problem. The game tree is huge for even heads up limit (~ 10^18 leaf nodes). Ring games (3-10 players) are intractable via any game theoretic methods. The only feasible possibilities are searching parts of the game tree through intelligent sampling methods, and perhaps abstracting the game down a bit.

    Work has focused on both solving abstracted versions of the game and exploiting opponent weaknesses. A publication concerning most recent methods involving bayesian best response will be available soon at the following link:

    http://www.cs.ualberta.ca/~finnegan/publications/p ublications.html [ualberta.ca]

    Just in case any one was wondering, calculating your raw chances of winning, dubbed "7 card roll out strength" is no problem at all once you harness the versatility of the gnu poker-eval library located on sourceforge.
    • Hey, you worked with the U Alberta group; cool. One question: how come they never put up the academic paper about vexbot? That seems to be the most interesting project from a theory point of view, and the most successful practically.

      About your sig: it is highly unlikely that any form of prime factorization is NP-complete. The reason is that the problem is contained in both NP and co-NP. So if it's NP-complete, then NP=co-NP, which nobody seriously believes is true and would be very surprising.
  • There's been a lot of postings about this tournament being bunk due to a lot of misconceptions about the game of poker. As a successful poker player of quite a few years and also a geek, I do believe I have an informed opinion here when I say that A) poker is profitable B) poker bots can and have been created C) the effort to code a high level poker bot is incredibly, incredibly difficult.

    A team at the University of Alberta has been working on with a poker research group [ualberta.ca] that has been researching and coding poker bots for years. One look at their page should tell you that there is definitely some high level thinking and analysis required to develop a poker bot. More importantly, is that fact that they *have* delivered a bot called Poki Poker [poki-poker.com] that has an impressive record at beating human opponents in 1 vs 1 heads-up matches. Brian Alspach, Professor Emeritus of Mathematics and Statistics at Simon Fraser University has also contributed numerous publications [math.sfu.ca] to the field, giving credence to the fact that there is a genuine science behind creating an AI that can play good poker.

    So, before anyone else spouts off about poker being a game of chance or poker bots being mindless hundred line pieces of code, please do your research. A lot of people have worked very hard on this subject to simply have it dismissed as beneath them. Just ask yourself this: If you could create a poker bot so easily, one that could generate at the very least, a poker bot that made $2/hr playing the low limit games, what would stop you from launching thousands of these bots upon the online world? Because unlike a human, you can replicate a bot innumerable times, which in this case would be the equivalent of finding the goose that lays golden eggs. If you understand this, you may begin to understand why there is so much interest in the creation of poker bots..
  • by aendeuryu (844048) on Sunday June 12 2005, @09:18PM (#12799209)
    I wonder if this will encourage programmers to actually intentionally obfuscate their code.

    Case in point, one thing that some people think is worth doing in the first few rounds of poker is to intentionally lose or call as many hands as you can, just to determine your opponents' betting methods and/or tells. Could something similar be done with programs? For instance, measuring the number of clock ticks that an opponent takes to analyze a given hand. If identical flops show up in subsequent rounds, and identical intervals lead to identical bets, is it possible that you've figured out how your opponent likes to bet? Furthermore, would it be worthwhile to throw in an empty do() while loop of random length in order to throw off such attempts? But how about betting patterns themselves?

    This is one thing I've always thought was missing in creating AI. It's not so much about coming up with "perfect" AI because so long as it follows a set pattern, it'll never be perfect. If it's consistent, either you'll figure out how to beat it, or you'll give up in frustration because you know you can never beat it. But create multiple different AIs that follow basic tactics, and then mix them up, there's the challenge.
  • by MagicDude (727944) on Sunday June 12 2005, @09:25PM (#12799243)
    The Tournament will begin at 9:00 AM, and the grand prize will be presented at 9:03 AM.
  • by isny (681711) on Sunday June 12 2005, @10:06PM (#12799530) Homepage
    Here's a list of the things that a poker playing robot needs to know:
    1. When to hold 'em
    2. When to fold 'em
    3. When to walk away
    4. When to run
    5. Never count your money: When you're sitting at the table, there'll be time enough for counting, when the dealings done.
    • by bobbozzo (622815) on Sunday June 12 2005, @08:32PM (#12798873)
      The only thing the house gets in poker is table fees or tournament fees.
    • The catch? All entries must be delivered in punch-card format.
    • by wmajik (688431) <wmajik@@@yahoo...com> on Sunday June 12 2005, @08:45PM (#12798975) Homepage Journal
      The "catch" is that unlike house games, the casino is only in the business of taking a percentage of the winnings in poker, known as the rake. In poker, since you are playing against your peers, if you are able to achieve a winning percentage greater than the house rake (commonly around 5-10%), then you are still a profitable poker player.

      In the poker world, the common standard for a profitable, solid player is to earn two big bets per hour, which covers both the casino rake and tip. In a $3/$6 texas hold'em limit game for example, the big bet is $6, which equals a $12/hr wage for a solid player. Online, where you not only do not have to pay a tip to the dealer, but also generally pay a lower rake and play about 150% more hands per hour than in a brick and mortar casino, it's very well possible to win nearly twice what you would by playing online.

      Thus, the only "catch" here is that by creating a successful poker bot that can play as well as a solid human, it may very well upheave the online poker industry as a whole. After all, if you could spawn near unlimited instances of an application that could pull in a meager $2/hr playing the $0.50/$1 low limit tables, that still means an insane amount of money. Whether or not it's legal.. that's another issue.
      • by Illserve (56215) on Monday June 13 2005, @07:56AM (#12801669)
        The hard part in cashing in from poker bots online (which must exist somewhere, writing a statistically playing bot that just waits for nuts isn't that hard, and lousy players will fork over money to this thing) is evading detection.

        If you just simply spawn 1000 bots, as easy as that seems, you'll be detected easily, and your online assets siezed. At the very least you'd need 100 or more IP's, and probably some variance in reaction times, mouse movements, etc.

        that's the difficult part, because online casinos have alot of money to lose if players get spooked by the fear of bots. So they'll be trying *hard* to detect you.
    • Re:erm.. WTF (Score:4, Interesting)

      by DoorFrame (22108) on Sunday June 12 2005, @08:43PM (#12798959) Homepage
      Have you ever played poker?

      Have you ever watched poker on TV? Did you notice that the same few people seem to be at the final table a disproportional percentage of the time. It's because although the cards themselves are random, the game is not. Every bet and every action is a subtle piece of a conversation about your perceived strength of your own hand versus your perceived strengths of your opponents.

      There's a lot of skill. It's not simply high card wins. The really good poker players willoften win without the best hands, because they know when their opponents are weak and will be willing to give up on a pot.

      So, yeah, a poker bot could replicate this.
    • Wow, I wish you were being a troll, but sadly I think you're just stupid.

      The challenge in poker is learning how your opponent plays and knowing when they're bluffing, along with not giving away too much yourself, and being able to bluff well. Chess might take more mathmatical and/or logic skills, but Poker takes a lot more skill when it comes to intangibles and the subtle differences in your opponents' skills. This makes for a much much tougher programming challenge.

      If bot A simply bets what it should b

        • >>There is a valid point that Chess is a better game than Poker in society. I am speaking neutral not leaning toward Poker or Chess cause I hate them both anyways.
          >>The game of Poker will never be open to all audiences. It is a game aimed at RICH adults, limiting the potential audience. I am not saying you and your college buddies can't get together and play free poker. But schools would never encourage the game like Chess. There is a real scientific aspect to Chess that Poker does not have.

          Yea
        • The game of Poker will never be open to all audiences. It is a game aimed at RICH adults, limiting the potential audience

          Huh? It's not like the only games have $10,000 buyins.

          There is a real scientific aspect to Chess that Poker does not have.

          Absolutely wrong. Poker is a textbook example of game theory, and because of imperfect information, it's arguably more strategically complex than chess. In chess, "all" you have to do is look ahead N moves and pick the best one. Sure, it gets complicated because
    • Re:Bot Training (Score:5, Interesting)

      by Anonymous Coward on Sunday June 12 2005, @08:44PM (#12798971)
      Anyone who thinks the best poker stategies are dictated by statistics has no idea how to play poker. That won't make much of a poker playing strategy. The trick is representing stength and guessing what kind of hand your opponent has despite what they are representing.

      Against real players the primary way of determining this is through the unconscious betting patterns almost every player has. Bots with some AI could do well at this. Bots against other bots is potentially an even more difficult problem.

      What I fail to see is why anyone who had a well functioning bot would enter this kind of contest. There is far more money to be made without getting yourself the undue notoriety of this sort of success.

      • Re:Bot Training (Score:5, Interesting)

        by vslashg (209560) * on Sunday June 12 2005, @09:30PM (#12799280)
        And likewise, any poker player who thinks poker is only about representing false strength and putting your opponent on a hand has no idea how to play poker. The real trick is a balanced approach. The best poker players are great at both reading hands and psychological warfare, but you had also better believe they know exactly what odds the pot is offering and whether finishing a draw is a positive or negative play.

        If you disagree, you're more than welcome to join our weekly game.
      • "someone mod him -1 redundant, (read post 2)"

        Read post 2? Try reading any other Slashdot article. It was redundant years ago. They're taking over Slashdot! "I, for one, welcome our overused-as-an-SNL-skit overlords."
    • If it takes down some of the poker sites (IN FLAMES!), I'm all for it.

      I, for one, as a blog and website operator am SICK AND FUCKING TIRED of comment/trackback/referral spam. Do they honestly think that by spamming my server logs I'm going to going to be interested in throwing my money at them? I seem to be missing something, but I'm guessing the people in charge of advertising and promotions for these sites aren't that far removed from Percy from The Green Mile.

      I'm sure many will agree with me: die poker
    • by bcrowell (177657) on Sunday June 12 2005, @09:31PM (#12799290) Homepage
      There was an article [kuro5hin.org] on this topic recently on kuro5hin, although it was focused more on human-human play, with the possibility of bots discussed as a possible reason why humans might think the game was rigged against them.

      It may be that current bots can beat some of the worse human players, but it's not clear how many of the human players are that bad, and it's not clear how good the companies that run the servers are at detecting bot behavior.

      One thing I'm still wondering about is human-human collusion. It's a big concern in breathe-the-same-air games between humans who don't know each other. Not sure about online poker, however -- do you get thrown in a table with randomly chosen players, none of whom you're likely to know? What about collusion between bots? E.g., you could be the only player at the table, not realizing you're playing against 6 bots, each of which knows what cards the others have.