hew-word-search-kata-REMASTERED!

This is a javascript solution for the Word Search Kata.

! Attention: Node.js must be installed on your computer to run this program.

=== SET UP ===

1. fork and clone repo, or download zip file.

2. open terminal and run $ npm install

=== ASSUMPTIONS ===

1. The board input will be one long string that will need to be transformed into a square board.

img

  • The strings used in the input were pulled from html elements inner HTML by inspecting the HTML page:

img

=== ABOUT THE CODE ===

1. config/index.js

  • This is where you import the copied string from the inspected html page

img img

=== RUNNING THE CODE ===

1. To get a detailed test of each test suite and the solution:

  • $ npm start

    2. To run only the detailed test pf each suite:

  • $ npm run-script testDetails

    3. To run tests and only recieve details of failed tests:

  • $ npm test

    4. To run only the solution:

  • $ npm run-script solution