Scrabble Dictionary - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://staging.qb64phoenix.com/forumdisplay.php?fid=3) +---- Forum: Programs (https://staging.qb64phoenix.com/forumdisplay.php?fid=7) +---- Thread: Scrabble Dictionary (/showthread.php?tid=1170) Pages:
1
2
|
Scrabble Dictionary - SMcNeill - 11-22-2022 A useful little tool for anyone who likes to play Scrabble. Code: (Select All) file$ = "Collins Scrabble Words (2019) with definitions.txt" Download and extract the word list/dictionary from below to use with this program. RE: Scrabble Dictionary - PhilOfPerth - 11-23-2022 (11-22-2022, 05:01 PM)SMcNeill Wrote: A useful little tool for anyone who likes to play Scrabble.That's the file I've used in the wordslists folder for my word-games (alchemy et al) but I weeded out the definitions and obscene words, and separated them into 26 separate files for easier searching. I didn't think most people would be too concerned about the meanings when just playing a casual game RE: Scrabble Dictionary - SMcNeill - 11-23-2022 (11-23-2022, 02:31 AM)PhilOfPerth Wrote: That's the file I've used in the wordslists folder for my word-games (alchemy et al) but I weeded out the definitions and obscene words, and separated them into 26 separate files for easier searching. I didn't think most people would be too concerned about the meanings when just playing a casual game Apparently you've never played with real people before, then! When it comes to any sort of game, people will argue over the tiniest little thing. "That's not a real word!" "It's right here in the word list!" "Well, what the hell is it then? Can you use it in a sentence? Give a definition for it?" "Sure! Just want me boondoggle your nose ofn your face!" Of course, I love some of the definitions they give for words. Try "cat" or "dog" sometime.. It seems this dictionary always gives you verb usage over noun use, in most instances. LOL! RE: Scrabble Dictionary - PhilOfPerth - 11-23-2022 Ah, I guess we Aussies aren't as argumentative as youse blokes! RE: Scrabble Dictionary - bplus - 11-23-2022 Definitely going to play with this if not gradebooks, I have a version of Alchemy down to less than 100 lines by consolidating Phil's word lists and going RA. I think I did do something with Collins dictionary before, Boggle?, anyway you definitely want access to definitions if not to argue with friends and family then to learn! RE: Scrabble Dictionary - PhilOfPerth - 11-24-2022 Yeah, I guess so... maybe I'll add Definitions as an option. BTW what's "RA"? RE: Scrabble Dictionary - bplus - 11-24-2022 (11-24-2022, 12:00 AM)PhilOfPerth Wrote: Yeah, I guess so... maybe I'll add Definitions as an option. BTW what's "RA"? RA is Random access, my experiment last night showed me it took almost as long to load the list of words into an array than it did to create (consolidate from the letter files and a complementary AnaCode file along with the word list). I got tired of waiting for arrays to load so I made the Word list Random access and searched the file instead of an array loaded from the file. What a time saver! Specially when retesting code every 2 minutes or so and having to wait for dang arrays to get loaded. RE: Scrabble Dictionary - SMcNeill - 11-24-2022 Two minutes to load into an array? That doesn't sound right. How big of a list are you loading, and how are you parsing it to have it take that long? RE: Scrabble Dictionary - bplus - 11-24-2022 No it was taking under 2 minutes to load 2 arrays for 279422 words maybe 30-40 secs, just that I was developing code and had to retest code every 2 minutes or so to work out blunders a step at a time. It was most aggravating debugging the binary search I was rewriting instead of digging around for a copy. I forgot to exit the dang function when the word was found! Yeah funny now At least that part worked when I switched over to RA nothing else was... you have to dim fixed strings you can't just use a string the right length for RA (a little rusty). RE: Scrabble Dictionary - PhilOfPerth - 11-24-2022 I don't really see the point of Random Access for the words; probably I'm missing something again. Maybe a quicksort routine would help speed things up though. Anyway, I'm half-way through creating matching Meanings files, so I'll stay with that for now. |