| 249 | } |
| 250 | |
| 251 | void record() { |
| 252 | system("cls"); |
| 253 | cout << endl << endl << endl << endl << endl << endl << endl; |
| 254 | cout << " "; |
| 255 | cout << "Welcome to the snake game!" << endl; |
| 256 | cout << endl; |
| 257 | cout << " " << "Current record is 100" << endl; |
| 258 | cout << endl; |
| 259 | cout << " " << "If you reach 100 you will win the game" << endl; |
| 260 | char back; |
| 261 | cout << endl; |
| 262 | cout << " " << "To go back press any key" << endl; |
| 263 | cin >> back; |
| 264 | if (back) welcome(); |
| 265 | } |
| 266 | |
| 267 | void incorrectChoice() { |
| 268 | cout << "Please try again next time" << endl; |