LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

APPLICATION SIMILAR TO WORDLY

Hello guys,

I am currently working on a word-guessing application similar to the game "Wordly." However, I am facing a challenge with implementing the string comparison logic. Specifically, I need to compare a predefined string (the target word) with a string entered by the player (the guessed word) and provide feedback using color-coded letters:

  • Letters that match in the correct position should turn green.
  • Letters that exist in the target word but are in the wrong position should turn yellow.

I am unsure how to implement this logic effectively in code to achieve the desired behavior. Could you please provide guidance or a recommended approach for handling this functionality? Eventually I was thinking about leds changing colors under a letter that is correct.

Thank you in advance for your support.

0 Kudos
Message 1 of 3
(133 Views)

I would like to recommend to take template "Wordle by Illuminated G" Template as getting started:

https://www.vipm.io/package/illuminatedg_lib_summer_of_labview___wordle/

 

This template contains the string comparison logic you're looking for and was part of the "Summer of LabVIEW" contest called Wordle that ran last year:

Screenshot 2025-01-19 15.34.36.png

 

 

Message 2 of 3
(115 Views)

This sounds like homework.

0 Kudos
Message 3 of 3
(66 Views)