dhgamache/Tic-Tac-Toe-JS — comment on commit dfe71893976cd104bad4795e7c55da7771a369c4
File: tictactoe.js line 67
By fat:

you could rewrite this to

```js
if (matchCountP1.length == 3) alert("Player 1 Wins")
else if (matchCountP2.length == 3) alert("Player 2 Wins")
else if (turn == 9) alert("Cat's Game")
else return

newGame()
```