Messy, slightly less clean... But it Works 0.o

#include
#include

using namespace std;

void PrintIntro();
void PlayGame();
void PrintGuessBack();
string GetGuess();
string Guess;
//Entry ppoint for our application
int main()
{

PrintIntro();
PlayGame();
return 0;//Exit the game

}

void PrintIntro()
{
// Introduce the Game
constexpr int WORLD_LENGTH = 5;
cout << “Welcome to Bulls and Cows, A fun word game\n”;
cout << “Can you guess the " << WORLD_LENGTH;
cout << " letter isogram I’m thinking of?\n”;
cout << endl;
return;
}
void PlayGame()
{
//loop for the number of turns asking for guesses
constexpr int NUMBER_OF_TURNS = 5;
for (int count = 1; count <= NUMBER_OF_TURNS; count++)
{
GetGuess();
PrintGuessBack();
cout << endl;
}
}

string GetGuess()
{
// Get a guess from the Player
cout << “What is your guess?\n”;
getline(cin, Guess);
return Guess;
}
void PrintGuessBack()
{
// repeat the guess back to them.
cout << “Your guess was " << Guess << " , Nice :slight_smile: !\n”;
}

Privacy & Terms