Skip to content
/ ddd Public
forked from dds-bridge/ddd

Double Dummy Driver C++ GIB reader/analyzer

License

Notifications You must be signed in to change notification settings

horatioh/ddd

 
 

Repository files navigation

DDD is a driver for Bo Haglund's Double Dummy Solver (DDS), written by PM Cronje and relased under the GPL.

DDD had not really been touched since 2007, and the last readme notes were dated 2006. Those notes are available in the file readme2006.txt.

This is a light modification in November 2014 to fit with the current structure of DDS, as of v2.8. It expects the DDS 2.8 distribution to be in the dds/ subdirectory. For convenience it is now on GitHub and includes DDS as a Git "submodule". It should automatically pull down the proper version of DDS if you clone the repository (using --recurse).

Change Summary

  • The code has been modified slightly to compile with the same compilers in the same way as the main DDS library. The set-up with Makefiles in a directory is the same. The code is now compiled against the DLL and is not linked directly with the DDS code.

  • Note that DDD only calls SolveBoard() and no other DDS functions. Especially for calculating the DD table for all 20 combinations of declarer and strain, there are now much better functions available.

  • DDD does not make use of the batch processing capability in DDS (as it probably didn't exist with DDD was written).

  • DDD enables the user to walk the DD "tree" interactively. At least when walking "downwards" towards fewer cards, the AnalysePlay() functions can be used. There are excellent visualization tools available, including DDS Captain, that do this in a graphical way.

Overall, the code would need a fair amount of work to be a good demonstrator of DDS as of v2.8. For some example programs that show all the new individual functions in DDS, see DDS's examples directory.

Soren Hein, November 2014

About

Double Dummy Driver C++ GIB reader/analyzer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.1%
  • C 2.9%