Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alchemy is fixed!
#11
@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.) Big Grin
Please visit my Website at: http://oldendayskids.blogspot.com/
Reply
#12
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.
b = b + ...
Reply
#13
(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.) Big Grin
Please visit my Website at: http://oldendayskids.blogspot.com/
Reply
#14
(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.
b = b + ...
Reply
#15
[attachment=1125 Wrote:bplus pid='10489' dateline='1669161307']
(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.
@bplus I have made the proposed changes, and used your suggestion of a warning if the wordslists folder is missing. Thanks you.


Attached Files
.bas   Alchemy.bas (Size: 13.31 KB / Downloads: 44)
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.) Big Grin
Please visit my Website at: http://oldendayskids.blogspot.com/
Reply
#16
Thumbs Up 
(11-23-2022, 12:44 AM)PhilOfPerth Wrote:
(11-22-2022, 11:55 PM)bplus Wrote:
(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.

Thanks!
b = b + ...
Reply
#17
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
Reply
#18
Yes, good pickup. Thanks KM.
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.) Big Grin
Please visit my Website at: http://oldendayskids.blogspot.com/
Reply
#19
I like this game...very well done!   Solid program and fun to play.   Cheers!
Reply
#20
War to Peace in 4 moves..  Tongue

[Image: image.png]



21 tries.  Hah!  Heck, I could probably do it in two!   WAR -- *ALCHEMY* -- PEACE!  Wink
Reply




Users browsing this thread: 10 Guest(s)