Guest User

Untitled

a guest
Jun 23rd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. while (Uncomplete = 1) {
  2. PlaceCursor(0, 1);
  3. cout << ("Your guess: ");
  4. cin >> guess;
  5. // _flushall();
  6.  
  7. for (int x = 0; x <= WordLength; x++) {
  8.  
  9. if (guess == Word[x]) {
  10. PlaceCursor(x + 6, 2);
  11. cout << Word[x];
  12. --Completion;
  13. GotOne = true;
  14. }
  15. }
  16.  
  17. if (GotOne == false) {
  18. miss++;
  19. MissedLetter(miss);
  20. }
  21. else {
  22. GotOne = false;
  23. }
  24.  
  25. if (Completion == 0) { --Uncomplete; PlaceCursor(0, 8); cout << Uncomplete; }
  26. }
Add Comment
Please, Sign In to add comment