Hangman Game - Online Code


The user has to discover all the letters in a secret keyword. Each letter said that is in the keyword is shown in its rightful location. He/She has the opportunity to fail up to FAILS_ALLOWED times.

Source Code

#include <iostream.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>

#define N_KEYS 12
#define KEY_MAX_WIDTH 20

// Possible keywords. You may inser new ones if you i
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.


No comment yet. Be the first to post a comment.