Alchemy is fixed! - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Programs (https://qb64phoenix.com/forum/forumdisplay.php?fid=7) +---- Thread: Alchemy is fixed! (/showthread.php?tid=1160) |
RE: Alchemy is fixed! - PhilOfPerth - 11-22-2022 @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? RE: Alchemy is fixed! - bplus - 11-22-2022 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. RE: Alchemy is fixed! - PhilOfPerth - 11-22-2022 (11-22-2022, 11:34 PM)bplus Wrote: Hi @PhilOfPerth,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. RE: Alchemy is fixed! - bplus - 11-22-2022 (11-22-2022, 11:49 PM)PhilOfPerth Wrote:(11-22-2022, 11:34 PM)bplus Wrote: Hi @PhilOfPerth,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. 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. RE: Alchemy is fixed! - PhilOfPerth - 11-23-2022 [attachment=1125 Wrote:bplus pid='10489' dateline='1669161307']@bplus I have made the proposed changes, and used your suggestion of a warning if the wordslists folder is missing. Thanks you.(11-22-2022, 11:49 PM)PhilOfPerth Wrote:(11-22-2022, 11:34 PM)bplus Wrote: Hi @PhilOfPerth,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. RE: Alchemy is fixed! - bplus - 11-23-2022 (11-23-2022, 12:44 AM)PhilOfPerth Wrote:(11-22-2022, 11:55 PM)bplus Wrote:@bplus I have made the proposed changes, and used your suggestion of a warning if the wordslists folder is missing. Thanks you.(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. Thanks! RE: Alchemy is fixed! - King Mocker - 11-23-2022 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 RE: Alchemy is fixed! - PhilOfPerth - 11-23-2022 Yes, good pickup. Thanks KM. RE: Alchemy is fixed! - james2464 - 11-23-2022 I like this game...very well done! Solid program and fun to play. Cheers! RE: Alchemy is fixed! - SMcNeill - 11-24-2022 War to Peace in 4 moves.. 21 tries. Hah! Heck, I could probably do it in two! WAR -- *ALCHEMY* -- PEACE! |