In the comments, please rate it out of 10. Thanks you!
10/10. if u want to add to it you could use the MiniMax algorithm for those people with no friends like me =( can play against a bot.
Look through my repls. You'll see a tic tac toe in c++. Has bot and friends! :DDDD @ElliottMeeks