krystian1201 / MyScrabble

0 stars 2 forks source link

Checking if the placed word is in a dictionary #18

Closed krystian1201 closed 9 years ago

krystian1201 commented 9 years ago

This check can be done only after we confirm the tiles are in one line

krystian1201 commented 9 years ago

Data structure - just a list of strings?

krystian1201 commented 9 years ago

use SOWPODS - "the word list used in English-language tournament Scrabble in most countries except the USA, Thailand and Canada"

krystian1201 commented 9 years ago

Can there be a word with both commonRow and commonColumn?

krystian1201 commented 9 years ago

Incorrect single word in row - OK Incorrect single word in column - OK

krystian1201 commented 9 years ago

Correct single word in row - OK Correct single word in column - OK

krystian1201 commented 9 years ago

Two words - one in column, the other in row - sharing one letter

krystian1201 commented 9 years ago

Two words - one crossing another in the middle

krystian1201 commented 9 years ago

Word starting or ending near the boarder's of the board

krystian1201 commented 9 years ago

Word "between" two other words:

krystian1201 commented 9 years ago

Tested some typical cases - probably there are still some cases to work on but they will come out earlier.

krystian1201 commented 9 years ago

Extending word by one letter:

CommonColumn and CommonRow != NULL

krystian1201 commented 9 years ago

One letter forming two words - one in column, the other in row

krystian1201 commented 9 years ago

Two words "parallel" to each other - forming multiple new words - TO DO

krystian1201 commented 9 years ago

The most obvious cases have been covered - let's close it for now and wait till bugs appear.