Update tictactoe.coffee

more defensive logic