Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

MiscFreecellGameBoards.cpp File Reference

This file contains the inplementatino of classes that generate miscellaneous freecell-type games. More...

#include <string.h>
#include "MiscFreecellGameBoards.h"

Go to the source code of this file.

Defines

#define IndexProgToPysol(i)   ((((i)%2) == 1)*4 + ((i/2)%4))
 Make the deal more like PySol?

Functions

int MicrosoftRandom (long *Seed)
 Create a random number in the same fashion that miccrosoft does.


Detailed Description

Author:
Michael Mann
Version:
1.0
Date:
September 2002

Definition in file MiscFreecellGameBoards.cpp.


Function Documentation

int MicrosoftRandom long *  Seed  ) 
 

Parameters:
Seed is the seed of the random number
Returns:
A random number

Definition at line 16 of file MiscFreecellGameBoards.cpp.

Referenced by AisleRiotGameBoard::Shuffle(), GnomeFreecellGameBoard::Shuffle(), and MicrosoftFreecellGameBoard::Shuffle().


Generated on Sat Nov 5 11:20:16 2005 for Cpp Freecell Solver by  doxygen 1.4.4