Note: Right now, this project is nearly done but not quite there yet. There are some bugs, and the AI is still rather stupid. That is because I wanted to share this project on the last day of 2021. I should be able to finish this project within a day or two, so right now just bear with the Tic Tac Toe AIdiot™ XD 2022/2/27: ^ well that didn't happen lol I felt like I needed to share something on the last day of 2021, so here you go :D ––––––––––––––––––––––––◊–––––––––––––––––––––––– My thoughts and reflection of the past year: (Skip if you don't care XD) I'm barely active these days on Scratch. Life is getting busy. I sure miss being a 5th grader who just discovered Scratch! I still try to go on Scratch once in a while though, and I hope I will never leave Scratch entirely. There are so many Scratchers of the past who have moved on or become inactive, and the old community is slowing disappearing. I guess I'll stay here... Do I sound like someone's grandfather? I probably do XD ––––––––––––––––––––––––◊–––––––––––––––––––––––– What is this project? Disclaimer: This project is a Tic Tac Toe AI that learns to win. This is not a neural network, because I am still too small brain to code such a thing. Instead, this is just a learning algorithm that learns to make good moves after a long training period. You can play this in two modes: You can choose to play against the AI, or against a player.
Credits: • Me, @DataLabGames, for basically everything • The font Poppins, which is used for most of the text in this project. History: • 2021/12/31: Shared with an AI that has 59448 knowledge entries counting moves for impossible scenarios. In other words, 399 extra knowledge entries compared to complete randomness. An AI that moves completely randomly has 59049 knowledge entries. • 2022/1/1: Trained the AI to 59643 knowledge entries, which is 594 extra knowledge entries. The AI is still nowhere close to intelligence, but it now will often take advantage of the opponent's mistakes and also will occasionally set up situations where there are two unfinished lines for the opponent to block.