tic tac toe
Fixed a bug in ai_play(): index3 was being assigned incorrect values causing the omission of many possible moves by the computer. I also discovered having ai_play() try to win and prevent the opponent from doing the same was not simple. The function now only tries to prevent the opponent from winning. Also, it now only looks 2 moves into the future, looking too far ahead was causing it to fail in its goal.
![Visit Listing - Auction Theme: Start your own auction website today. (New 2022) - Download Now! Auction Theme: Start your own auction website today. (New 2022) - Download Now! - Cover Image](https://listingimages.hotscriptscontents.com/cover-image/167653/medium_aecf388f80b8fa1b1cd3d5c5cd864754.png)