Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CS Games 2023 Team A Application
PLEASE FILL IN THE FOLLOWING!
Full Name
Nathan Jonah
UWindsor Email
[email protected]
Application Form
Briefly explain how your solution works and how to run it
This solution first iterates through each element in every row and column, checking to see if there is a match between the first letter of the goal word. If there is a match with the first letter, the program explores the possible pathways in the array of up, down, left and right and sees if there is a way to create the word by following along these pathways. It does this by keeping track of the moves and validating each move. If a dead end is reached, block the original first step of the path and search along the other pathways. If all possible paths from the start are exhausted, and no solution is reached, the program returns false for that first letter and looks for another first letter of the word again. If the entire array is gone through without finding the word, the function returns false.
To run this program, it should be possible to download the python file and use it with the python3 on your system. If you want to test against your test functions, first create a solution

then use (solutionname).canconstword(board,word) which will return true or false if the word can be constructed in the array.
This program was made assuming the edge case of a word with 0 characters is not inputted.