@King Mocker: Thanks for testing.
The game is intended to accept whatever letters you enter, but if there are too many changes from the previous word, they are displayed in cyan and the word is ignored, but counted as a try. If the wordslists folder is correctly placed , i.e. in the same directory as alchemy.exe, the word will be checked as being a "legal" word also.
I have just downloaded and re-tested, and this seems to all work correctly.
If I'm missing something, would you mind explaining further, so it can be fixed?
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.)
It's OK we 2 idiots bashed our heads and fixed everything. But the alchemy.bas source does have to be one folder up from \wordlists that's what I had to figure out and he had to see that cyan color was a failed word color.
(11-22-2022, 11:34 PM)bplus Wrote: Hi @PhilOfPerth,
It's OK we 2 idiots bashed our heads and fixed everything. But the alchemy.bas source does have to be one folder up from \wordlists that's what I had to figure out and he had to see that cyan color was a failed word color.
I'll increase the time the Word Failed message is displayed, and give a different message if it's an illegal word; that may make it clearer.
But I think the wordslists folder (not its files) should be at the same level as the .exe file.
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.)
11-22-2022, 11:55 PM (This post was last modified: 11-22-2022, 11:57 PM by bplus.)
(11-22-2022, 11:49 PM)PhilOfPerth Wrote:
(11-22-2022, 11:34 PM)bplus Wrote: Hi @PhilOfPerth,
It's OK we 2 idiots bashed our heads and fixed everything. But the alchemy.bas source does have to be one folder up from \wordlists that's what I had to figure out and he had to see that cyan color was a failed word color.
I'll increase the time the Word Failed message is displayed, and give a different message if it's an illegal word; that may make it clearer.
But I think the wordslists folder (not its files) should be at the same level as the .exe file.
Yes, I meant the Alchemy.bas source could not be in with the wordlist files A, B, C,...
You might have a message at start only if the wordlists folder could not be found and that the game would work better with that folder located.
(11-22-2022, 11:34 PM)bplus Wrote: Hi @PhilOfPerth,
It's OK we 2 idiots bashed our heads and fixed everything. But the alchemy.bas source does have to be one folder up from \wordlists that's what I had to figure out and he had to see that cyan color was a failed word color.
I'll increase the time the Word Failed message is displayed, and give a different message if it's an illegal word; that may make it clearer.
But I think the wordslists folder (not its files) should be at the same level as the .exe file.
Yes, I meant the Alchemy.bas source could not be in with the wordlist files A, B, C,...
You might have a message at start only if the wordlists folder could not be found and that the game would work better with that folder located.
@bplus I have made the proposed changes, and used your suggestion of a warning if the wordslists folder is missing. Thanks you.
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.)
(11-22-2022, 11:49 PM)PhilOfPerth Wrote: I'll increase the time the Word Failed message is displayed, and give a different message if it's an illegal word; that may make it clearer.
But I think the wordslists folder (not its files) should be at the same level as the .exe file.
Yes, I meant the Alchemy.bas source could not be in with the wordlist files A, B, C,...
You might have a message at start only if the wordlists folder could not be found and that the game would work better with that folder located.
@bplus I have made the proposed changes, and used your suggestion of a warning if the wordslists folder is missing. Thanks you.
Phil,
The loop checking for the Pair selection is ignoring the Escape key. I made the following change on line 73 to the IF statement check for the Escape key being pressed so it could exit the GoTo loop and then Stop.
Code: (Select All)
SetPair: ' Select pair of words
LoadPairs
Color 14: Print Tab(22); "Which pair would you like, from A to T";
getpair:
pair$ = UCase$(InKey$)
If (pair$ < "A" Or pair$ > "T") And pair$ <> Chr$(27) Then GoTo getpair
If pair$ = Chr$(27) Then Stop