![]() |
Re: Hangman game source code
oh! didnt know that .... alright then, that settles it.
Ciao, Rajiv |
Re: Hangman game source code
Hello everyone, what is hangman? Sorry for my sutpidness.
Thanks for oyur explanations. |
Re: Hangman game source code
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 :) |
Re: Hangman game source code
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! |
Re: Hangman game source code
Quote:
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:
______ |
Re: Hangman game source code
you should explain some thing about your program.
you should use some comment to explain you program working. |
Re: Hangman game source code
Hi guys ,I have just done my C# hangman program.If somebody needs that send me an e-mail.Thanks Erolaktekin@hotmail.com
|
Re: Hangman game source code
Quote:
|
Re: Hangman game source code
where's a code?
|
Re: Hangman game source code
Quote:
|
| All times are GMT +5.5. The time now is 08:30. |