Mastermind 4LW strategy game

4

was8bit 2023-08-31 04:27 (Edited)

Mastermind game using four-letter words

Clues tools help you sort out whats what

Game stats give you a review of your game play

If you decide a particular word is not viable, you can permanently remove the word from the database if you lose the game

Everything should be running ok... please post with any issues or questions :)


was8bit 2023-08-31 06:08

Done for today... will add more stuff later ...


was8bit 2023-09-01 15:05

If you need help figuring out how the clues work, edit the very top line of the code like this...

CHEAT=1

and the game will automatically show you the word you are trying to guess... in this mode, experiment with different guess until you understand HOW the clues work... when you understand the clues, reedit the code to CHEAT=0 to play the game as normal :)


was8bit 2023-09-01 15:19 (Edited)

... also, i do not restrict you to using real words... for example, you may use "TTTT" as a guess to verify if there is a "T" or not... however you only get 15 guesses, and its also more fun trying to use real words...

... i recommend my method for the first 5 guesses... guess the first 5 words, each with only one vowel, in order... so a word with an "A", then "E", then "I", then "O", then "U".... also with these first 5 guesses, try to use all unique consonants...

Example:
RAMP
LEND
WISH
SORT
PUBY

I cheated a little on the "U" word ;)

This approach is kinda like a quick mini game, i always play the game this way... also you hopefully will either get lots of all red (which means these letters are already ruled out) or you get all 4 letters guessed right away (which makes it super easy to win)

Oh, and i just now realized i repeated one letter in my above list... i reused an "S" twice... so if both of those words score more than all reds, my error of not using all unique letters would have made it difficult to sort out those two clues... :(

Maybe i should have fudged a little and guessed "VORT" ;)


was8bit 2023-09-03 03:53

Your score when you win is the # of unused guesses +1


Log in to reply.