Page 1 of 1

Nerdle

Posted: Wed Sep 21, 2022 8:42 pm
by netmaestro
Nerdle, the Wordle for nerds!
It is a clone of the popular New York Times Wordle game and works exactly the same. It's very simple to play:

There is a hidden 5-letter word that is the solution for the play.
There is no mouse involvement in the game at all.
Place letters A-Z from the keyboard and when your try is ready, hit Enter.
Your word will be tested and the result will show in the tiles on the current line as follows:

Dark gray tile: Letter is not in the word
Yellow tile: Letter appears in the solution but your placement is wrong
Green tile: Letter appears in the solution in the place you put it

Just because you have one green or yellow tile on your playing line doesn't mean there aren't more of them in the solution too

The keyboard at the bottom is not a touch keyboard, it serves as a legend to tell you what letters you've used and their status, just like on the playing lines. It's very helpful when you're coming up with your next try.

You can shut the game down at any time and the next time you run it it will pick up where it left off. No need to minimize it to keep your place.

Put the exe in a folder on your machine and it will just run from there. It makes an .ini file for itself in the same folder to store useful info like words you've had before (so it doesn't use them again) and your place in the current game to restore it. The current solution word is in there too but it's in Base64 format so you can't open the .ini and just read it.

//TODO:
-Make a help file with this info in it
-Make a stats page that shows after every play to keep track of your solving results over time
-Make the keyboard clickable with the mouse and add Enter and Back keys to it

Get it here: viewtopic.php?t=79863

There are currently 3120 common english words in the list so feel free to get hooked on it! With the NYT Wordle game you are restricted to one play every 24 hours. With this one you can just sit and play until your eyes glaze over.

Re: Nerdle

Posted: Thu Sep 22, 2022 3:48 am
by netmaestro
I'm having hair-pulling-out difficulties with this file. Windows Defender thinks it's got a virus in it and the only way I can download and keep the file without Windows torching it is to turn real-time protection off. If I do that and restart my computer, the stupid OS just turns it on again.
Anyway, enough ranting. The program is updated now so the keyboard works with the mouse. I'm posting the code in T and T now in case anyone else is having these problems.

Re: Nerdle

Posted: Thu Sep 22, 2022 6:11 am
by BarryG
No warnings from Windows Defender here (Win 10 Pro). All good! Thanks for sharing.

Re: Nerdle

Posted: Thu Sep 22, 2022 6:13 am
by netmaestro
I just uploaded a3. a2 had an older file in it and it didn't color the keys.

Re: Nerdle

Posted: Thu Sep 22, 2022 6:27 am
by idle
I was just about to ask that. thanks

Re: Nerdle

Posted: Thu Sep 22, 2022 8:39 am
by Joris
Here are warnings from Windows Defender (also Win 10 Pro). Can't run the game.
The explenation tells me that game is very similar to "Memory".

Re: Nerdle

Posted: Thu Sep 22, 2022 8:42 am
by netmaestro
You can download the source from T and T then there's no problem

Re: Nerdle

Posted: Thu Sep 22, 2022 9:06 am
by netmaestro
Update: I gave up on the exe and the link is changed to where the code is in T and T

Re: Nerdle

Posted: Thu Sep 22, 2022 10:19 am
by BarryG
Was the exe 32-bit? If so, try building as 64-bit because that gives no false-positives for me with my own apps.

Re: Nerdle

Posted: Thu Sep 22, 2022 9:59 pm
by netmaestro
The exe was indeed 32bit. I took your suggestion and compiled it in x64. I initially thought it didn't help as Win11 flagged it and vaporized it but then I realized it was compiled to the same name as the previous x86 file that it had flagged before. It just saw the name and torched it. I compiled it under a new name, uploaded it and downloaded it and apart from the OS complaining that it's not commonly downloaded and I shouldn't run it all went well (after I made Windows run it anyway). So excellent tip, thanks for that.