Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 493 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 493 Bytes

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