Hacker News new | ask | show | jobs
by tensaix2j 4750 days ago
Does the AI always have to make the first move?
2 comments

For Perfect Bot's strategy to work, yeah, but the environment is very open to configuration. Set xIsComputer to false and yIsComputer to "monte" for a fun challenge in which you go first.
Technically a game of tic tac toe is comprised of two matches, one each player starting