By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,887 Members | 1,249 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,887 IT Pros & Developers. It's quick & easy.

bridge

P: n/a
Cor
Do you guys know if there is a program that can generate bridge moves? I
recently wrote a bridge game but its only 4 [human] player... I deceided it
was too difficult to come up with the logic for the AI movements... anyone
know where i can find a DLL that will generate bridge moves? Ideally, the
DLL would accept moves made by the human player and generate an AI move
based on that. Any help would be much appreciated

Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Do you post using 2 different names (derian)? This *exact* same question
was just asked about chess...


"Cor" <no*@non.com> wrote in message
news:3f***********************@reader21.wxs.nl...
Do you guys know if there is a program that can generate bridge moves? I
recently wrote a bridge game but its only 4 [human] player... I deceided it was too difficult to come up with the logic for the AI movements... anyone
know where i can find a DLL that will generate bridge moves? Ideally, the
DLL would accept moves made by the human player and generate an AI move
based on that. Any help would be much appreciated


Nov 20 '05 #2

P: n/a
Hello,

"Cor" <no*@non.com> schrieb:
Do you guys know if there is a program that can
generate bridge moves? I recently wrote a bridge
game but its only 4 [human] player... I deceided it
was too difficult to come up with the logic for the AI
movements... anyone know where i can find a DLL
that will generate bridge moves? Ideally, the DLL
would accept moves made by the human player and
generate an AI move based on that. Any help would
be much appreciated


ROFLM*O

SCNR

--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #3

P: n/a
Howdy Cor,

I found GIB (Ginsberg's Intelligent Bridgeplayer)
http://www.cirl.uoregon.edu/ginsberg/gibresearch.html

And Solve Double-Dummy Bridge Problems
http://freepages.genealogy.rootsweb....ech/dbldum.htm

Both of these are written in C.

Here's a guy who's explored Card and Players classes (Java)
http://www.internation.co.uk/java/zine/97_06/CardGames/

And the place where they're all talking about it:
rec.games.bridge

You might also like to try

news://msnews.microsoft.com/microsof...ages.vb.bridge

Happy hunting :-)

Cheers,
Fergus
Nov 20 '05 #4

P: n/a
Hi,

Bridge is the most COMPLEX game that is popularly played. It is several
orders of magnitude more complex than Chess, for example. So, no... There
is no DLL for this. There have been programs developed, but not as DLLs.
GIB (which was written by an acquaintance of mine) has published source code
on the web, somewhere. Since it is C, I haven't looked closely at it.
However, understanding the code itself would be a non-trivial process.

Good luck. Have fun. And be prepared to spend a few years programming.
Personally, I'd use one of the programs that you can download, at low cost.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.