Go4Expert Member
4Dec2006,18:29   #11
rai_gandalf's Avatar
oh! didnt know that .... alright then, that settles it.

Ciao,
Rajiv
Contributor
12Apr2007,12:57   #12
Peter_APIIT's Avatar
Hello everyone, what is hangman? Sorry for my sutpidness.

Thanks for oyur explanations.
Newbie Member
27Nov2007,01:36   #13
h4rapture's Avatar
Hi I am doing a research project on a hangman program for C++ and i stumbled across this, I was wondering if someone could explain the different variables to me. I did not fully understand this. I am still in the entry levels of programming and I need to learn what variable does what for my class.

int score,loop,len,num,lup,om,luptimes,fitimes,ondtime s,antimes;

thanks
Newbie Member
28Nov2007,19:22   #14
wolverine's Avatar
Hello i am Knew to the forum and I am trying to write a hangman game for 2 players. I want to begin with a menu of 3 choices. New game, high scores and exit. If the player press the first, the game will start and ask for the “Word” .After that will scan the word. It will ask for how many wrong letters can the other player write. As a default will have 7. Every time it will ask for given word or letter. With an algorithm will compute the high scores.It Will store the names and the scores to a file if the player choose to see the high scores with the second option . Can anyone help me how to do that.
Thanks!
Ambitious contributor
14Jan2008,03:13   #15
oogabooga's Avatar
Quote:
Originally Posted by TEJUS
i want to know wheter my program is good?
For a beginner, any program that runs correctly is great.
But to learn proper style you need to study how good programs are written.
Good style consists of such things as:
* dividing a program up into subroutines (functions in C)
* not using more variables than you absolutely have to
* giving your variables informative names so readers don't have to figure out what they're for.
* comments are also useful, especially for non-trivial things (don't just say what a simple line of code does in English, that's just for textbook examples).

Also, some ascii graphics couldn't hurt!
Code:
  ______
  |    |
  |    O
  |   /-\
  |    |
  |   /-\

Last edited by oogabooga; 17Jan2008 at 01:39..
Contributor
7Jan2009,10:51   #16
skp819's Avatar
you should explain some thing about your program.
you should use some comment to explain you program working.
Newbie Member
23Jun2009,21:31   #17
Erol's Avatar
Hi guys ,I have just done my C# hangman program.If somebody needs that send me an e-mail.Thanks Erolaktekin@hotmail.com
Go4Expert Founder
24Jun2009,09:00   #18
shabbir's Avatar
Quote:
Originally Posted by Erol View Post
Hi guys ,I have just done my C# hangman program.If somebody needs that send me an e-mail.Thanks Erolaktekin@hotmail.com
If you really want to share the code why not post them here in the forum for others to see it.
Newbie Member
27Jun2009,02:25   #19
akanglil's Avatar
where's a code?
Go4Expert Founder
27Jun2009,08:05   #20
shabbir's Avatar
Quote:
Originally Posted by akanglil View Post
where's a code?
Right at the top of this thread. - Hangman game source code