Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (Uncomplete = 1) {
- PlaceCursor(0, 1);
- cout << ("Your guess: ");
- cin >> guess;
- // _flushall();
- for (int x = 0; x <= WordLength; x++) {
- if (guess == Word[x]) {
- PlaceCursor(x + 6, 2);
- cout << Word[x];
- --Completion;
- GotOne = true;
- }
- }
- if (GotOne == false) {
- miss++;
- MissedLetter(miss);
- }
- else {
- GotOne = false;
- }
- if (Completion == 0) { --Uncomplete; PlaceCursor(0, 8); cout << Uncomplete; }
- }
Add Comment
Please, Sign In to add comment