コード例 #1
0
ファイル: MainActivity.java プロジェクト: bgarahs/GhostGame
 /**
  * @return Returns string of possible words user can use to choose a symbol This is a hint words
  *     for user
  */
 private String getPossibleWords() {
   StringBuilder strbld = new StringBuilder("\n");
   if (game.getWord().length() >= 3) {
     strbld.append("\n");
     ArrayList<String> l = game.getPossibleWords();
     for (String word : l) strbld.append("    " + word + "\n");
   }
   return strbld.toString();
 }