Skip to content

a Python program that searches a grid of letters (a-z only) for valid English words. Words can be found along any diagonal, forwards, upwards, downwards or backwards and must not ‘wrap’ between edges.

License

Notifications You must be signed in to change notification settings

sadok-f/python-word-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-word-search

a Python program that searches a grid of letters (a-z only) for valid English words.

Words can be found along any diagonal, forwards, upwards, downwards or backwards and must not wrap’ between edges.

requirement:

  • Python 3.4+
  • Pytest 6+

Usage

python main.py -s 15 -f valid_words.txt

Arguments

  -s SIZE, --size SIZE Set the board size
  -f FILE, --file FILE Path to file contains list of valid words

Unit Tests

pytest

About

a Python program that searches a grid of letters (a-z only) for valid English words. Words can be found along any diagonal, forwards, upwards, downwards or backwards and must not ‘wrap’ between edges.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages