From: "Mark Pagdin" <mark_pagdin@lineone.net>
Subject: I need advice please on this Ada95 hangman game
Date: Sat, 30 Dec 2000 16:30:42 -0000
Date: 2000-12-30T16:30:42+00:00 [thread overview]
Message-ID: <t4s3dn60cip62b@corp.supernews.co.uk> (raw)
Hi
I hope you had a nice Christmas! I am looking for your help and advice. I am
a student at university in England and have just started learning to use Ada
95. This is my first programming language and obviously I am finding it hard
to learn it. However I have been set a project to create a program to play
hangman (a word game).
I have been working hard to create this and am slowly getting there. However
I am stuck on the main procedure which searches for the letter in the hidden
word and then display any correct letters.
Here is the output I get when i run the program (the word is revealed at the
moment for testing purposes):
Enter a word to test the Hangman game
mark2
Enter a Leter
m
m_ _ _ _ Enter a Leter
a
_ a_ _ _ Enter a Leter
r
_ _ r_ _ Enter a Leter
k
_ _ _ k_ Enter a Leter
2
_ _ _ _ 2Enter a Leter
Please would it be possible for anyone to point out a way of storing each
attempt so that when the player attempts to guess again the program is able
to store the result from the previous guess.
Please I don't want to cheat i.e. I only want you to give me hints not do it
for me.
Thank you,
Mark Pagdin
next reply other threads:[~2000-12-30 16:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-30 16:30 Mark Pagdin [this message]
2000-12-30 17:12 ` I need advice please on this Ada95 hangman game Bruce or Tracy
2000-12-30 17:53 ` Ted Dennison
2000-12-30 17:27 ` Robert Dewar
2000-12-30 17:31 ` Robert Dewar
2000-12-30 17:38 ` Ted Dennison
2000-12-31 15:48 ` Marin David Condic
2001-01-07 1:16 ` John English
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox