As a fun side project, I built this awesome Tic-Tac-Toe game (with three AI levels) in May 2017.
@5005: Good catch! Unfortunately, in that instance, it actually isn't possible for the computer to win anyway. It would need two moves since you could do that in two places. Good job!