I created an AI to Play Chess
2,794,085
Published 2018-07-25
Huge thanks to brilliant.org for supporting this channel, check them out at www.brilliant.org/CodeBullet
I'll upload the program soon
Twitter: twitter.com/code_bullet
Patreon: www.patreon.com/CodeBullet
Discord: discord.gg/UZDMYx5
All Comments (21)
-
The queen just ate his king lmao
-
6:23 Seeing the King and Pawn like that physically hurt me.
-
"I'll upload the program soon" 4 years later...
-
even this AI could have lastest longer than xqc.
-
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.
-
6:22 this is how GM Ben Finegold's 1 o'clock class plays chess
-
Legend says he's still getting ready to release it
-
6:24 king subtly sits in check for the next 4 moves...
-
I'll upload the program soon 3 weeks later... EDIT: 2 months later... EDIT: 2 years later...
-
"I'll upload the program soon" so that was a fucking lie
-
Didn’t have en passant or castling
-
0:36 THE CHESS BOARD IS REVERSED AAAAHHHHHH
-
No castling, check, or checkmate. OOF
-
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.
-
I was in a chess club for 2 years and this physically hurt me
-
Microsoft: castling Codebullet: wait, that's illegal.
-
6:27 no check. Having check and checkmate is crucial for an AI since the game and your moves rely on them.
-
“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.
-
I love how he made a 3 minute tutorial on how to make chess before he started with the actual subject of the video