title: Tic Tac Toe Game (Java): finding a tie game
body: <p>Making a Tic Tac Toe game for my class, I have all the other methods correct and the game works unless there is a draw. board is a 2D array that represents the tic tac toe board. Here is the Full() method to try and see if the board is full:</p>
  
  <pre><code>public boolean full() {
      boolean full = false;
      for (int i = 0; i &lt; 3; i++) {
          for (int j = 0; j &lt; 3; j++) {
              if (board[i][j] == '-') {
                  full = false;
              } else {
                  full = true;
              }
          }
      }
      return full;
  }
  </code></pre>
  
  <p>I know it does not work, I could not really think of a way to make it work. Anyone have any ideas?</p>