Welcome to Anything Forums! We are a general discussion forum that believes in freedom of expression and aim to provide a low moderation (within reasonable means) environment to discuss any topic. If you want to join, simply click HERE to be taken to our account management system where you can make an account. If you had an account at iceteks.com, anythingforums.com, uovalor.com or uogateway.com in the past it has been transfered over and you can simply do a password reset.
Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
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
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