I created an AI to Play Chess

2,794,085
0
Published 2018-07-25

All Comments (21)
  • @colorswift
    even this AI could have lastest longer than xqc.
  • @superairdog6136
    You didn’t implement check and check mate. If someone is in check, they MUST make a move to save the king, or else they will lose. Edit: I made additional comments in the replies, please read them.
  • @okerbel
    6:22 this is how GM Ben Finegold's 1 o'clock class plays chess
  • @ridleyhult
    Legend says he's still getting ready to release it
  • @hpwest9753
    I'll upload the program soon 3 weeks later... EDIT: 2 months later... EDIT: 2 years later...
  • @Shoornloo
    No castling, check, or checkmate. OOF
  • @fotiskapotos
    Dude your algorithm could have beaten Level 1 IF you had implemented check and checkmate. Your algorithm is clearly able to take all the opponents pieces but your heuristic for your minimax is wrong because the purpose of the game is not to take the most pieces, it is to checkmate. If you were to add that checkmate equals like 10000 points then your algorithm could easily beat level 1 even more if you increase the depth
  • As someone who likes chess and AI, I of course had to analyze every move between the two AIs. This chess game was more interesting than the grandmaster games I've studied... I learned a lot.
  • @joeloliver2279
    I was in a chess club for 2 years and this physically hurt me
  • @ieegordon2634
    Microsoft: castling Codebullet: wait, that's illegal.
  • @nerikacutie283
    6:27 no check. Having check and checkmate is crucial for an AI since the game and your moves rely on them.
  • @erikmerrill8280
    “We’re going to assign pieces values and from whites perspective we are trying to reach a high score.” That’s not how this works. That’s not how any of this works.
  • @DanielAbeleira
    I love how he made a 3 minute tutorial on how to make chess before he started with the actual subject of the video