Tic tac toe sort of

So I sort of finished the tic tac toe project its just one user story i did not complete and that is play with a computer with AI. If anyone can help me with that it would be great but here is my project so far.