Learning the basics of AI with Tic-Tac-Toe!

Поділитися
Вставка
  • Опубліковано 21 вер 2024
  • In this video I explore a topic I’ve been interested in for a while now, Artificial Intelligence.
    I personally define an AI as an algorithm designed to simulate intelligent behavior that generally surpasses human capabilities, but there is a lot of subjectivity to it so if you disagree please tell me why.
    Because I’ve never really touched AIs before, I started small with tic tac toe. I started by making an AI that plays randomly, but he wasn’t very good. RIP Earl
    I then thought of hard coding in instructions using turn counters and if statements and because of the amount of board configurations this would’ve taken forever, so I started a new strategy, the Minimax algorithm.
    The algorithm is perfect for tic tac toe and once I implemented it and debugged all of my errors, it was working and I had mastered tic tac toe!
    If you want more information on minimax, Sebastian Lague has a great video on that which I referenced when writing this.
    Another topic I wanted to go over was something similar to the MIT self driving car thing and the trolley problem. The way I wanted the ai to do this one was through training. So it will watch me make choices and then learn from that when it starts making choices for itself. The way I went about doing this however wasn’t perfect because some cats lived and some best friends died, but MOST of the time it performed optimally.
    Also thank you guys so much for all the support. This is the first video I put out since we passed 100 subs, and now we’re at like 174 at the time of my writing of this.
    And also… sorry for the lack of uploads over the past few months. I’ve been busy with school and other stuff but I’m hoping to have another video up at the end of the week so you guys have that to look forward to. It’s another game jam video and this one, well, let’s just say it didn’t go as planned.
    And also as well… if I’m being honest I don’t think I’m going to keep working on my 3d puzzle game that I made a few videos on. Again with school I don’t have the time in order to make good progress with it, so I doubt I’ll make another video with it until at least summer time or maybe even later. I do love the idea and think it’s a manageable project that I could work on, but if I kept working on it it have to slow down the already slow rate of making UA-cam videos and I just don’t think it’s worth it.
    Subscribe: / @willhessgamedev
    Instagram: / will_hess_yt
    If you have any questions DM me over Instagram

КОМЕНТАРІ • 18