473,387 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

bridge

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
4 1649
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Steven M. Scotten | last post by:
Hi-- I seem to have the PHP Java Bridge (2.0.5 built from tarball) working with PHP 5.0.3 (also built from tarball) on my Fedora Core 1 server with Apache 2.0.50 and I'm pretty excited about it...
2
by: Debajit Adhikary | last post by:
I'm still pretty new to design patterns... I was wondering, is there any difference between the Bridge Pattern and Herb Sutter's Pimpl Idiom? Both delegate responsibility to an implementation...
5
by: Lorn | last post by:
I'm undertaking wriitng a bridge application between a remote data server API and multiple utility applications which pull and send data to the API. The reason for a bridge is that the data server...
4
by: Izak van Langevelde | last post by:
Shocks. Today I came to learn that Suns jdbc-odbc bridge driver isn't meant for serious purposes; it's experimental. I already knew it isn't thread safe, but didn't think of this as problematic for...
12
by: Adrian | last post by:
The code below was taken from an example. All the "noise" in the example was thrown out. This is supposedly according to the bridge pattern. What in the code (which lines) represent the bridge...
0
by: sneha29 | last post by:
Hi, I am trying to write a bridge similar to Python- Uno bridge. I have read from these links about the PyUNO bridge. http://udk.openoffice.org/python/python-bridge.html But I haven't found...
0
by: ghost_of_rooney | last post by:
Maybe my example isn't a good candidate for Bridge, or maybe I'm applying Bridge incorrectly, but I don't see the benefit of the pattern here. If I eliminated the Bridge and extended the shape...
4
pbmods
by: pbmods | last post by:
Heya. I just installed PHP-Java-Bridge on my system, but I'm having a hard time getting it to stop crashing Apache. When I activate the 'Java.so' module in php.ini, I get the following error in...
1
pbmods
by: pbmods | last post by:
Heya. I just installed PHP-Java-Bridge on my system, but I'm having a hard time getting it to stop crashing Apache. When I activate the 'Java.so' module in php.ini, I get the following error in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.