Skip to content

Instantly share code, notes, and snippets.

@storm-ace
Created September 9, 2017 09:29
Show Gist options
  • Save storm-ace/c20f34b09de99e417591572354a82f9f to your computer and use it in GitHub Desktop.
Save storm-ace/c20f34b09de99e417591572354a82f9f to your computer and use it in GitHub Desktop.
#include <iostream>
#include <string>
using namespace std;
void PrintIntro();
void PlayGame();
string GetGuess();
bool AskToPlayAgain();
// The entry point for our application
int main()
{
bool bPlayAgain = false;
do
{
PrintIntro();
PlayGame();
bPlayAgain = AskToPlayAgain();
}
while (bPlayAgain);
return 0; // Exit the application
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment