title: Tic Tac Toe draw function
body: <p>I have made a tic tac toe game with javascript.
  I've got 2 questions. <br>
  1. I want a "start" button. So you can only see/play the game if you clicked on the button.</p>
  
  <p>And now the hardest:
  If it is draw, then the computer have to reset 1 random square. The game continues as long as necessary,  until there is a winner.</p>
  
  <pre><code>function drawCheck() {
      vari()
      moveCount = sqr1T + sqr2T + sqr3T + sqr4T + sqr5T + sqr6T + sqr7T + sqr8T + sqr9T 
      if(moveCount == 9) {
          reset()
          alert ("draw!")
      }
  }
  </code></pre>
  
  <p>Can anyone help me please?</p>