Solitaire System

Download now.

This program will eventually take an XML file describing the rules of a particular solitaire game. This will allow a wide variety of games to be played with a single interface.

This version uses a subclass to override the file loading section and defines the standard Klondike game in code. Functionality is similar to the standard game found in Windows except the user must drag cards from the stock pile to the waste pile and there is no double click behavior.

The input data is an XML file specifying the layout, deck, move rules, and victory condition.  Click here to see a preliminary  input specification.  This file was developed before I decided to use XML and thus is subject to organizational changes. However the concepts should remain largely the same.

Download now.

Download source.

History

May 21, 2004 - Prerelease - Major Features to be added: XML Parser, Parsed file to game state generator, Undo/Redo system

Return to programs home.