示例#1
0
void cGame::ScoreScreen()
{
	Uint32 score = getPlayerScore();

	cout << "You've finished the game!" << endl;
	cout << "Your score is......." << endl << "..." << endl << ". . .... ." << endl << ". ...." << "*ahem*" << endl;
	if(score < 0)
	{
		cout << "Stop messing with the system! At least try..." << endl;
		cout << "Oh as you were wondering, " << score << " points. =P" << endl;
	}
	else if(score < 9)
	{
		cout << score << " points! ...Oh wait, that isn't good..., this isn't gold you know!!!" << endl;
	}
	else if(score < 13)
	{
		cout << score << " points! GG! =)" << endl;
	}
	else if(score < 17)
	{
		cout << score << " points! Great Job!! =)" << endl;
	}
	else if(score < 20)
	{
		cout << score << " points! Congradulations! You're smart!!! =)" << endl;
	}
	else if(score < 22)
	{
		cout << score << " points! Wow you're a genius! Keep up the amazing work!!!! =)" << endl;
	}
	else
	{
		cout << score << " points! Now what did I say about NOT hacking the game to get a perfect score?!!?... ;)" << endl;
	}
	cout << endl << "Thank you for playing!!!" << endl;
	cout << "This game is brought to you by Daniel Schenker! =)" << endl << endl;
}
示例#2
0
int CvReplayInfo::getFinalScore() const
{
	return getPlayerScore(m_iActivePlayer, m_iFinalTurn);
}
示例#3
0
void cGame::DisplayScore()
{
	cout << "Player Score: " << getPlayerScore() << endl;
}