Page 1 of 1
Turing Hangman
Posted: Mon Nov 01, 2004 1:21 pm
by Anonymous
i need to make a turing hangman game, but have NO IDEA where to begin, if someone could help by explaining or ever write me a program it would be much appreciated
thanks in advance!
Archived topic from Iceteks, old topic ID:2800, old post ID:22955
Turing Hangman
Posted: Sun Nov 07, 2004 11:12 pm
by Death
Hmmmm. Turing Hangman. I actually made a hangman game in turing that read from a bank of words. I've got the compiled version around here somewhere. Might be able to post it to give you an idea of what ito expect. As for the lines of code, as with any hangman game, you need to use length and char commands. You need to know the length of the word, where each letter IS in the word., how many instances of the SAME letter are in the word, and if the letter has been chosen before. The rest is basically, just displaying the letters on a bunch of blank lines. If you want to get into the really spruced up hangman games, you can create databanks out of txt files or turing files (filename.t files (so that people can't read them)), then you can set a random value to grab a random word from the databank to use in the game. Hopefully this gives you an idea of what to expect.
Archived topic from Iceteks, old topic ID:2800, old post ID:23109