Closed krystian1201 closed 9 years ago
Data structure - just a list of strings?
use SOWPODS - "the word list used in English-language tournament Scrabble in most countries except the USA, Thailand and Canada"
Can there be a word with both commonRow and commonColumn?
Incorrect single word in row - OK Incorrect single word in column - OK
Correct single word in row - OK Correct single word in column - OK
Two words - one in column, the other in row - sharing one letter
Two words - one crossing another in the middle
Word starting or ending near the boarder's of the board
Word "between" two other words:
Tested some typical cases - probably there are still some cases to work on but they will come out earlier.
Extending word by one letter:
CommonColumn and CommonRow != NULL
One letter forming two words - one in column, the other in row
Two words "parallel" to each other - forming multiple new words - TO DO
The most obvious cases have been covered - let's close it for now and wait till bugs appear.
This check can be done only after we confirm the tiles are in one line