Recommend this page to a friend! |
Classes of Igor Escobar | Terminal Crossword | crosswords/README.md | Download |
|
|
DownloadHow it works?It's pretty simple. Once inputed the words you would like to add to the board, the algorithm calulates all possible positions for each word (vertically, horizontally and bias). Once it has the answer, the algorithm pick a random possible position for each word and plot it to the board. How to play:* node start.js * node start.js --noobie * node start.js --words word1,word2,word3,word4 Running tests * Running Code Coverage Report * ExamplesInteractive mode> A simple interactive setup of the crossword
Noobie mode> It's just a mode to help you to identify the words more easily
--words mode> A simple way to unactive the interactive mode and generate your crossword a little bit faster.
|