a browser version of the previously written tic-tac-toe ai bot