![]() |
Forum Index : Microcontroller and PC projects : Wordle Program for CMM2
Author | Message | ||||
William Leue Guru ![]() Joined: 03/07/2020 Location: United StatesPosts: 405 |
"Wordle" is a word guessing game that has become very popular here in the states with both web and phone version. You try to guess a game-generated 5-letter word by entering your own 5-letter words and looking at the color-coded feedback. It's pretty addictive! My version for the CMM2 plays the same as the other versions, except that it probably uses a different dictionary. The dictionary I use derives from one published by Don Knuth ages ago, and contains about 5700 words, not ALL of the 5-letter English words by far, but enough. Enjoy! -Bill Wordle.zip ![]() |
||||
Turbo46![]() Guru ![]() Joined: 24/12/2017 Location: AustraliaPosts: 1639 |
@Bill, Thanks for that. Maybe I can get my grandson interested. He's not a good speller (takes after me). My only concern is that the dictionary may contain some words that use American spelling and confuse him. Maybe I can run a spell check program over it. Bill Keep safe. Live long and prosper. |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10240 |
Get rid of "color" for a start ![]() Nice program ![]() |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5058 |
Nice, In Netherlands this game is called "Lingo". And it is a show on TV as well. Volhout PicomiteVGA PETSCII ROBOTS |
||||
paceman Guru ![]() Joined: 07/10/2011 Location: AustraliaPosts: 1329 |
Nice game Bill (Leue). I'd heard of this and thought it would be a good educational thing for kids too. Never played it before but I did manage to win my first try - took five words and about 15 minutes but I got there! Thanks for your effort. Greg |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4038 |
Reminds me of Bulls and Cows. John |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4302 |
Now if only Jiri would fix the "like" button on CMM2.fun - poke, poke, poke ![]() MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
William Leue Guru ![]() Joined: 03/07/2020 Location: United StatesPosts: 405 |
Sorry about the US spelling! I am using a word list I found on the web, originally compiled by Don Knuth. It contains about 7500 words, but English (some version of it) reportedly contains more than 12,000 5-letter words. The word file is just a text file, so you can easily change it; the program only cares about 2 things: the name of the file and its structure: each 5-letter word is standard ASCII with a 2-character delimiter. The program doesn't care what the delimiters are, just that they are 2 characters; in other words, the program assumes 7 bytes per word when it computes an offset for SEEK. I will see your COLOR and raise you an ALUMINIUM! ![]() -Bill |
||||
Turbo46![]() Guru ![]() Joined: 24/12/2017 Location: AustraliaPosts: 1639 |
Sorry but that made me laugh ![]() Bill Keep safe. Live long and prosper. |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5058 |
Hi William, If you (or anyone else) is interested, I made a Dutch dictionary for this magnificent program. Only the dictionary file name and size (number of words) must be changed in the basic program. Regards, Volhout Edited 2022-02-11 01:27 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |