// oure game of words that matches patternQString findWord(QStringList&list,QString myWord){bool pass;foreach(QString word, list){
pass = true;int i =0;while(i < myWord.size()){if(!word.contains(myWord.at(i++))){// qDebug() << word <<word.at(i-1);
pass = false;
break;}}// word should has only one letter that can be other than we thinkif(pass && myWord.size()+1== word.size())return word;}// if we not found we return empty stringreturn"";}