I have a terrible homework to do. I am thinking about it but there is no result for several days. I explain .. There is a txt file, and it contains about 30.000 words, like a dictionary. The aim of the game is to find the word which is kept by computer selected from dictionary. Here is an example:
for example computer kept "printer" word and now i guess "apple" then computer writes "3" because "2p" and "e" is included. And i guess "present" comp. writes 5 because "p","r","e","e","t" like that.And i say these letters may be included. But if the word kept by comp. include repetition letter, game become a bit complicated. For example
kept guess result
--------- ------- ------------
"soccer" "accrue" 6 (4 from c + 1 from e + 1 from r)
and another example kept "qualification" and i guess "even" comp. writes "1" then i understand "e" is not there, "v" or "n" must be included.
..... finally the the word will appear after the elaminatings...
(like MASTER MIND game, but this about letters)
i am waiting for your helps friends )) . I hope we find... (+sorry for bad english )
for example computer kept "printer" word and now i guess "apple" then computer writes "3" because "2p" and "e" is included. And i guess "present" comp. writes 5 because "p","r","e","e","t" like that.And i say these letters may be included. But if the word kept by comp. include repetition letter, game become a bit complicated. For example
kept guess result
--------- ------- ------------
"soccer" "accrue" 6 (4 from c + 1 from e + 1 from r)
and another example kept "qualification" and i guess "even" comp. writes "1" then i understand "e" is not there, "v" or "n" must be included.
..... finally the the word will appear after the elaminatings...
(like MASTER MIND game, but this about letters)
i am waiting for your helps friends )) . I hope we find... (+sorry for bad english )