// ========================================================================== // Play multiple rounds of hangman game. // A. Fischer, June 4, 2000 file: game.hpp // Modified by M. Fischer, October 8, 2009 //=========================================================================== #pragma once #include "rstrings.hpp" #include "board.hpp" // ========================================================================== class Game { private: char Alphabet[80]; // Normally the English Alphabet. RandString* Vocab; // The randomized vocabulary list. int wins, rounds; // For keeping score. public: Game(cstring wordfile = NULL); ~Game() { delete Vocab; } void play(); // Play hangman. int playRound(); // Play one round of hangman. };