Here's the other one. Maybe it should check to see if the pos is 0
(or close enough to 0?) and not do the seek or the first fgets().
Hmm, the other problem with scanning the wordlist this way is it
statistically favours the words following the longest words. Ie, if I
have:
cat
disenstamlishmentarianism
radish
It will seek into the second word and select the third about 75% of
the time.
----- Forwarded message from Mark <mark@otford.kent.btinternet.co.uk> -----
From: Mark <mark@otford.kent.btinternet.co.uk>
Date: Sat, 19 Jan 2002 18:38:46 +0000
To: submit@bugs.debian.org
Subject: Bug#129997: bsdgames: hangman ignores first word in wordlist
Reply-To: Mark <mark@otford.kent.btinternet.co.uk>, 129997@bugs.debian.org
X-Spam-Status: No, hits=-2 required=5 tests=FORGED_RCVD_FOUND,DEBIAN_BTS,B
UGS_DEBIAN_ORG
Package: bsdgames
Version: 2.9-3
Using the following word file, the first word will not be used:
firstly
another
hangman -d words
..will result in only the word 'another' being offered.
Mark Kent
----- End forwarded message -----