tictactoe js console game completed