I want to write a C# console application for a word search puzzle (similar to scrabble game). There is a file with collection of letters which contains hidden words (puzzle.txt). I need to find all of the words in the word list (words.txt) from puzzle.txt.
These words may the words hidden left to right (LR) ,right to left (RL), up(U), down(D), Diagonal up left (DUL), Diagonal up right (DUR), Diagonal down left(DUL) or Diagonal down right (DDR).
The output should include name of the word found, where it was found and the direction like (up or down, etc)
Any suggestions on how to approach this in C# or provide pseudocode?
Thanks in Advance.