Re: programming a poker game in Prolog



Alok <alokjariwala@xxxxxxxxx> wrote:
I have an assignment t program a poker game in Prolog can anyone help
me ??


(1) Learn to play poker. Watch what you do when you play.
Any variety of poker is apparently ok. :)
If you know what you're doing, you can write a program to do it, too.
Has interesting corollary. :)

Playing games with incomplete or (as in this case) deliberately and
maximally misleading info, or perhaps needing
the maniuplation of things like "I know X knows I may know Y" is not
really introductory Prolog stuff.

The theoretical underpins are things like probability and (shudder)
inductive logic. Setting up simple game theory-type tableaux is
also likely to be involved.

"If I do X and player A does Y and player B does Z,
then what is my expected/optimistic/pessimistic payoff?".

Then do what seems to maximise the metric chosen.

Some intro stuff on mathematical thy in poker was written by
"Johnny" von Neuman back in the 30s or 40s. It's still relevant, despite being
for "toy" draw poker.


The method I've used in one dark period in the past is
(i) build a computer cluster, (*)
(ii) write some distributed s/w to simulate intelligent agents
playing poker; add in some adaptive capability,
(iii) run for several 1000 hours and gather some statistically
significant data on strategy and (simulated) player populations.

Much of this is implicit in books written c 1980 by significant players. :)

Haven't looked at bridge(s), but played with 500, draw, Omaha & Texas.
It's all much the same kinds of techniques, both to play (if seriously --
I like more to just obviously cheat at 500) and to program.


===
(*) It had one or 2 other uses. Not just a poker cluster. :)
.



Relevant Pages

  • A Message to a Friend (Tunica Trip Report)
    ... It was a hell of a golf tournament. ... My latest poker trip was interesting – ... Early on in that tournament I pulled off a spectacular play when I ... against a good player” – meaning that a donkey ...
    (rec.gambling.poker)
  • Mo does Vegas and the WSOP ME
    ... tournament at the venetian that night (the ceo poker tour, ... executive player plays!). ... last longer paid to third - we play for a long, ... all sitting on about 17k in chips and in need of a pot or two, ...
    (rec.gambling.poker)
  • Re: Irish Mikes Poker Tip #3 of 4
    ... When you sit down in a poker game it doesn't matter how well you can play. ... In the long run I agree, but the good player has the advantage in the ...
    (rec.gambling.poker)
  • Re: RUSS... WCP .. DOESNT ADD UP!!
    ... Sklansky has stated you couldn't beat a game I was in if colluding. ... was licensed and was a high stakes prop player from 1995 until 2001. ... No one ever saw you play in seattle. ... �Every coke addict in the poker world got broke every time they ...
    (rec.gambling.poker)
  • Re: Poker Unchecked - Book Review
    ... Russ Georgiev ... His RGP posts concerning poker play have been quite varied across ... (he uses the term "World Class Player" - WCP) ...
    (rec.gambling.poker)