Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Blog 

hangman

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 1,8 sec, absolute running time: 0,22 sec, absolute service time: 2,04 sec 
edit mode |  history  | discussion
Warning(s):
/LIBPATH:C:\boost_1_60_0\stage\lib 
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64
Enter a user name: 0 wrong, 0 right.



________
Incorrect letters: 
Enter a guess: 
e
0 wrong, 1 right.



E_E_____
Yes 2 e
Incorrect letters: 
Enter a guess: 
l
0 wrong, 2 right.



ELE_____
Yes 1 l
Incorrect letters: 
Enter a guess: 
e
0 wrong, 2 right.



ELE_____
Yes 1 l
Incorrect letters: 
Enter a guess: 
p
0 wrong, 3 right.



ELEP____
Yes 1 p
Incorrect letters: 
Enter a guess: 
h
0 wrong, 4 right.



ELEPH___
Yes 1 h
Incorrect letters: 
Enter a guess: 
a
0 wrong, 5 right.



ELEPHA__
Yes 1 a
Incorrect letters: 
Enter a guess: 
n
0 wrong, 6 right.



ELEPHAN_
Yes 1 n
Incorrect letters: 
Enter a guess: 
t
WINNER!
The word was: elephant
1591295521 wins and 32763
Play again?(y/n) 
0 wrong, 0 right.



________
Incorrect letters: 
Enter a guess: 
i
1 wrong, 0 right.

 o

________
No i
Incorrect letters: I
Enter a guess: 
t
1 wrong, 1 right.

 o

_______T
Yes 1 t
Incorrect letters: I
Enter a guess: 
u
2 wrong, 1 right.

 o
 |

_______T
No u
Incorrect letters: IU
Enter a guess: 
s
3 wrong, 1 right.

 o
 |
/

_______T
No s
Incorrect letters: IUS
Enter a guess: 
a
3 wrong, 2 right.

 o
 |
/

_____A_T
Yes 1 a
Incorrect letters: IUS
Enter a guess: 
e
3 wrong, 3 right.

 o
 |
/

E_E__A_T
Yes 2 e
Incorrect letters: IUS
Enter a guess: 
l
3 wrong, 4 right.

 o
 |
/

ELE__A_T
Yes 1 l
Incorrect letters: IUS
Enter a guess: 
p
3 wrong, 5 right.

 o
 |
/

ELEP_A_T
Yes 1 p
Incorrect letters: IUS
Enter a guess: 
h
3 wrong, 6 right.

 o
 |
/

ELEPHA_T
Yes 1 h
Incorrect letters: IUS
Enter a guess: 
a
3 wrong, 6 right.

 o
 |
/

ELEPHA_T
Yes 1 h
Incorrect letters: IUS
Enter a guess: 
n
WINNER!
The word was: elephant
1591295522 wins and 32763
Play again?(y/n) 

    
                
Advertise here.