function for the view after game
| 881 | } |
| 882 | //function for the view after game |
| 883 | void after_game() { |
| 884 | system("cls"); |
| 885 | system("color 0A"); |
| 886 | cout << "\t\t*************************************************************************************" << endl; |
| 887 | cout << "\t\t***** *****" << endl; |
| 888 | cout << "\t\t***** C O N G R A T U L A T I O N S ! ! ! *****" << endl; |
| 889 | cout << "\t\t***** = = = = = = = = = = = = = = = = = = = = = = = = *****" << endl; |
| 890 | cout << "\t\t***** = = = = = = = = = = = *****" << endl; |
| 891 | cout << "\t\t***** *****" << endl; |
| 892 | cout << "\t\t***** *****" << endl; |
| 893 | cout << "\t\t***** *****" << endl; |
| 894 | cout << "\t\t*************************************************************************************" << endl; |
| 895 | cout << endl; |
| 896 | cout << "\tTOTAL SCORE: " << total_score << endl; |
| 897 | cout << "\tYOU HAVE ANSWERED FOR '" << correct_answer << "' QUESTIONS OUT OF 10." << endl; |
| 898 | cout << "\tYOU HAVE USED "<<hints_used<<" HINTS DURING THE GAME."<<endl; |
| 899 | system("pause"); |
| 900 | } |
| 901 | //view for the scores |
| 902 | void scores_table(); |
| 903 |