Re: programming a poker game in Prolog
- From: russell kym horsell <kym@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Sep 2006 05:05:05 +0000 (UTC)
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. :)
.
- Next by Date: Re: programming a poker game in Prolog
- Next by thread: Re: programming a poker game in Prolog
- Index(es):
Relevant Pages
|
|