My public interface

#pragma once

class FBullCowGame
{
public:
	void Reset(); // TODO make a more rich return value.
	int GetMaxTries();
	string GetCurrentWord();
	int GetCurrentWordLength();
	int GetNumberOfGamesPlayed();
	int GetNumberOfWordsCorrect();
	int GetNumberOfWordsIncorrect();
	string GetLongestWordGuessed();
	string GetShortestWordGuessed();
	int GetPercentageOfWordsGuessedCorrectly();


// ^^^ Please try and ignore this and focus on the interface above ^^^
private:
	int MyCurrentTry;
	int MyMaxTries;
};

Privacy & Terms