| 273 | if (back) welcome(); |
| 274 | } |
| 275 | void lostgame() { |
| 276 | game = false; |
| 277 | system("cls"); |
| 278 | cout << endl << endl << endl << endl << endl << endl << endl; |
| 279 | cout << " "; |
| 280 | cout << "Sorry you lost the game " << endl; |
| 281 | cout << " " << "Your score was " << score << endl; |
| 282 | cout << " "; |
| 283 | cout << "To to back press any button" << endl; |
| 284 | char back; |
| 285 | cin >> back; |
| 286 | if (back) { |
| 287 | game = false; |
| 288 | welcome(); |
| 289 | } |
| 290 | |
| 291 | } |
| 292 | |
| 293 | int main() { |
| 294 | SetConsoleTextAttribute(hConsole, 116); |