LabVIEW Word Puzzle Solver

To download NI software, including the products shown below, visit ni.com/downloads.

Software

  • LabVIEW
1. Overview

This LabVIEW software was developed to find all words hidden in the grid of the popular game known as Word Search Puzzle. This software demonstrates the capability of manipulating string arrays by using most of the functions of the array pallet.

2. Description

This LabVIEW program can find words in any direction of the horizontal, vertical and diagonal pattern. To solve the puzzle, the strategy of the program is to get the starting letter of the word to find then find it in the puzzle array row by row. First, all the horizontal rows should be read both forward and backward, then the vertical and lastly the diagonal pattern. Then the look up continues until all letters of the word to find is matched in that row and the program will highlight the whole word.

The program can be modified to solve any other Word Search Puzzle template of any dimensional size by simply modifying the letters in the grid (array) without the need of modifying the block diagram as long as the words to find are provided.

3. Requirements
  • NI LabVIEW Base Development System 2015 or above
4. Steps To Implement or Execute Code
  1. Download and open the VI “Kryp Electronics – Word Puzzle Solver.vi
  2. Run the VI
  3. On the string array “Words To FIND“at the left side of the front panel, type in the words to find (just copy the sample words written on the right side of the panel).
  4. Then click the “FIND” button to start finding the words in the puzzle. Each found word will be highlighted into green indicating a match word.
  5. To Stop the game, just click the “STOP” button.
5. Image (Block Diagram)
6. Videos
7. Code And Documents

Attachment:

Kryp Electronics – Word Puzzle Solver.vi 172KB

, , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *