// cppHearts, Copyright 2001 Michael W. Godfrey, email: migod@uwaterloo.ca // See copyright.txt for details. #ifndef _GLOBALS_H_ #define _GLOBALS_H_ #include // Contains various constants used in this program. class Globals { public: // The maximum player score permitted. // You can set it to a lower value for a shorter game. static const int MaxPoints = 40; // Do we print debugging information? Change the value if you like. // const boolean DEBUG = true; static const bool DEBUG = false; // A number I chose "at random". // Change this seed to get a different sequence of random numbers, // and hence a different game. Really, each random player should // have their own personal random number generator but I can't be // bothered. static const int RandomSeed = 37; }; #endif