Calculation on Windows XP
This is a version for Windows of the popular card game 'Calculation'. When played with six or more waste piles it is an easy game to learn and play, making a pleasant way to while away a few minutes. Or when played with fewer waste piles it becomes a challenging game requiring careful thought and planning.
To install it on Windows 95/98/Me or NT4/2K/XP, download and run the '.setup.exe' file from the distribution package
If you want to run it on Wine, or if you just prefer to do things manually, download the '.bin.zip' file instead. See section two of the enclosed README.TXT for some hints on running it on Wine.
Calculation is free software and can be redistributed under the terms of the GNU General Public License.
A mailing list has been set up for discussing all things to do with Calculation. This would be the place to post a request for technical support, to make suggestions, report bugs, or to post patches.
Calculation on Linux
For the source code, download the '.src.zip' file. To compile it you'll need 'cards.h' and 'cards32.lib' from Microsoft's web site (see the README), and to compile the help file you'll also need Microsoft's html help compiler from Microsoft's web site. Included are projects files for MSVC++ and a Makefile for g++.
Some of the modules are designed to be reusable, take a look at the header files for more details (some contain instructions and examples).
- dibsect.cpp Gives you an easy way to work with Windows DIB sections, and provides a couple of methods of scaling (bilinear interpolation and another based on area).
- crdcache.cpp Builds on cards32.dll and dibsect.cpp to provide scalable playing cards.
- registry.cpp Windows registry.
- winerr.cpp Windows error messages.