I Made a Weird Chess AI from Scratch

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 1K

  • @nextProgram
    @nextProgram  4 ปีที่แล้ว +1255

    This video took like 70 hours to make :)

    • @KindagoodAtguitar
      @KindagoodAtguitar 4 ปีที่แล้ว +50

      😳 wow that’s very impressive. You clearly put lots of effort into your videos and I’m glad you’re getting the well deserved recognition!

    • @swordyboiii260
      @swordyboiii260 4 ปีที่แล้ว +3

      Very big oof size

    • @ambersage3205
      @ambersage3205 4 ปีที่แล้ว +3

      Good job!

    • @Daniel-gu1gt
      @Daniel-gu1gt 4 ปีที่แล้ว +1

      Can u do a face reveal after 10k subs

    • @meeverse875
      @meeverse875 4 ปีที่แล้ว +4

      #youtubeputallthisdudesvideosinrecommendedsohegetslotsofnewsubsbecauseheisawsomeandmakesamazingcontent that is hard to read

  • @clavesi
    @clavesi 4 ปีที่แล้ว +1507

    Ahh, the programmer's paradox: That which seems the simplest takes the longest and that which seems the hardest takes a minute.

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว +108

      clavesi very true

    • @IronDizaster
      @IronDizaster 4 ปีที่แล้ว +95

      That's probably because computers are extremely good at what we are bad at, but extremely bad at what we are good at

    • @Supreme_Lobster
      @Supreme_Lobster 4 ปีที่แล้ว +54

      "ah yeah, writing a function that checks for when a 'check mate' state occurs is gonna be easy, about 5 minutes"
      Literally takes a week to do it

    • @fahdv2597
      @fahdv2597 4 ปีที่แล้ว

      how dfq does that make any sense

    • @NStripleseven
      @NStripleseven 4 ปีที่แล้ว +7

      Well, normally, unless you expect it to. Then it does what it seems like, so that when you pick the complex-seeming thing, it is complex.

  • @ninjatek2241
    @ninjatek2241 4 ปีที่แล้ว +1816

    "95% of the time that a novice programmer complains that something is 'terrible to use', it's because they don't know what they're doing."
    ...
    "Anyway, pygame is terrible to use."
    lololol

    • @iminni3459
      @iminni3459 4 ปีที่แล้ว +25

      To be fair could probably be waay wore beginner friendly

    • @ekrem_dincel
      @ekrem_dincel 4 ปีที่แล้ว +6

      Just use pyglet instead of pygame

    • @ShitpostHeaven
      @ShitpostHeaven 4 ปีที่แล้ว +1

      lelelelelelel

    • @Supreme_Lobster
      @Supreme_Lobster 4 ปีที่แล้ว +1

      I don't like Java for exactly that reason lol

    • @ninjatek2241
      @ninjatek2241 4 ปีที่แล้ว

      @@ekrem_dincel What is pyglet? I've never heard of it

  • @JelleVermandere
    @JelleVermandere 4 ปีที่แล้ว +1895

    Great video! That little game you made called “chess” could definitely take off.

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว +198

      Yeah I think it has some potential haha

    • @OrangeC7
      @OrangeC7 4 ปีที่แล้ว +111

      @@nextProgram I think it really benefits from its roots in the structure of old medieval governments, which should make it quite relatable for a lot of people from the western world. Perhaps you could make a similar version of it that could reel in more eastern cultures as well? You could call it "shogi".

    • @grapehool
      @grapehool 4 ปีที่แล้ว +4

      @@nextProgram I sense sarcasm

    • @nottheboi3518
      @nottheboi3518 4 ปีที่แล้ว +26

      CheSs is AlrEadY a gAmE yoU stUpId

    • @cybertak4195
      @cybertak4195 4 ปีที่แล้ว +5

      Not The boi r/wooosh

  • @supernukey419
    @supernukey419 4 ปีที่แล้ว +573

    “I made my own engine.”
    You poor soul.

    • @chappie3642
      @chappie3642 4 ปีที่แล้ว +18

      I'm making one too.
      (I think I'm going insane please help me)

    • @ptato3010
      @ptato3010 4 ปีที่แล้ว +6

      @@chappie3642 stop
      For your own sanity

    • @tla9231
      @tla9231 4 ปีที่แล้ว +20

      @@ptato3010 No he has to do it, to become a man.

    • @ptato3010
      @ptato3010 4 ปีที่แล้ว +9

      @@tla9231 He's gonna die if he does! We can't loose another one... Not like this... Not like this...

    • @tla9231
      @tla9231 4 ปีที่แล้ว +10

      @@ptato3010 It's too late, he already did it. Now he either dies or succeeds. It's for the greater good.

  • @someone58932
    @someone58932 4 ปีที่แล้ว +590

    *if(aboutToLose):*
    *dont()*
    The best code in existence, just don't forget your functions.

    • @someone58932
      @someone58932 4 ปีที่แล้ว +5

      @@barrrakudam Functions/Variables do not have spaces, try using underscores. (_)

    • @clonefighter1996
      @clonefighter1996 4 ปีที่แล้ว +10

      @@someone58932
      if(aboutToWin):
      do()

    • @someone58932
      @someone58932 4 ปีที่แล้ว +2

      @@clonefighter1996 better

    • @asteroidX
      @asteroidX 4 ปีที่แล้ว +2

      Fun fact, dont( ) is a recursive function 🤣

    • @someone58932
      @someone58932 4 ปีที่แล้ว

      @@asteroidX yes

  • @greenmario3011
    @greenmario3011 4 ปีที่แล้ว +209

    Imagine still playing Chess when Chess 2 has been out for years

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว +8

      Green Mario True

    • @noyz-anything
      @noyz-anything 4 ปีที่แล้ว

      wait where

    • @greenmario3011
      @greenmario3011 4 ปีที่แล้ว +1

      @@noyz-anything en.m.wikipedia.org/wiki/Chess_2:_The_Sequel

    • @rockman7perez
      @rockman7perez 3 ปีที่แล้ว

      @@greenmario3011 Wait, are you saying D&D is not the sequel to chess?

    • @ashleybyrd2015
      @ashleybyrd2015 3 ปีที่แล้ว +3

      @@rockman7perez Yea, dungeons and dragons is actually the sequel to snakes and ladders.

  • @ninjatek2241
    @ninjatek2241 4 ปีที่แล้ว +128

    *Sees the thumbnail*
    Me: This man is a genius.

    • @ericfleet9602
      @ericfleet9602 4 ปีที่แล้ว

      Watches the video: Oh... never mind.

  • @ineedanewytname
    @ineedanewytname 4 ปีที่แล้ว +361

    You see this, this content right here? Yeah it’s called quality content. Just saying

    • @trashamedly2794
      @trashamedly2794 4 ปีที่แล้ว

      ez dub

    • @beri4138
      @beri4138 4 ปีที่แล้ว +1

      He talked 5 minutes about bullshit that no one cares about and 1 minute about his program, how is this quality??

    • @ineedanewytname
      @ineedanewytname 4 ปีที่แล้ว

      Don’t question it :)

  • @shinjukim8576
    @shinjukim8576 4 ปีที่แล้ว +297

    When the title says scratch, but he doesn't make it using scratch
    sad scratch noises

    • @turniue
      @turniue 4 ปีที่แล้ว +8

      Was looking for this comment, someone should use scratch to do this
      I'll probably end up doing it

    • @johneaves23
      @johneaves23 4 ปีที่แล้ว +9

      It should take about 3 hours to make a decent chess move... but it will be worth it.

    • @want-diversecontent3887
      @want-diversecontent3887 4 ปีที่แล้ว +2

      John Eaves
      I made a 256 bit integer and it slows down at about 2000

    • @Despacitoian
      @Despacitoian 4 ปีที่แล้ว +1

      Shinju Kim scratch is really bad tbh. It would take like 10 days to actually even make a really bad chess bot

    • @karai5082
      @karai5082 4 ปีที่แล้ว

      SCRATCH IS GARBAGE!

  • @leovaris8738
    @leovaris8738 4 ปีที่แล้ว +93

    As a person who has made a real chess engine, I can say that there's million things to add to this. For example AB-pruning, null move, bitboards, proper rules, transposition tables, opening books, uci protocol. And just switch to C++

    • @joshuascholar3220
      @joshuascholar3220 4 ปีที่แล้ว +12

      I gave up in pain at 4 minutes. Did he mention perft?

    • @olivergraf1360
      @olivergraf1360 4 ปีที่แล้ว +25

      @@joshuascholar3220 Oh god I remember that when I programmed an engine and it had so many random tiny errors in the move generation function, for example capturing en passant but then discovering an attack on your own king was somehow possible... Don't ask me...

    • @knox1392
      @knox1392 4 ปีที่แล้ว

      okay nerd
      /s

    • @MateusSFigueiredo
      @MateusSFigueiredo 4 ปีที่แล้ว

      Searching null move now

    • @2kofawsome
      @2kofawsome 4 ปีที่แล้ว +5

      When he talked about how he wrote the engine so quick it caused my physical pain considering how bad it is, great content though

  • @ataud9754
    @ataud9754 4 ปีที่แล้ว +21

    This dude: What am I some kind of nerd?
    Also this dude: *programs a chess engine from scratch *

  • @aidanthird
    @aidanthird 4 ปีที่แล้ว +85

    that feeling when a chess ad plays before this chess video

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว +8

      🤔

    • @aidanthird
      @aidanthird 4 ปีที่แล้ว +1

      @@nextProgram yes (insert that emoji) indeed

    • @powerofthec5908
      @powerofthec5908 4 ปีที่แล้ว +1

      Google is spying on you lol.

    • @animationgamer3564
      @animationgamer3564 4 ปีที่แล้ว +1

      @@aidanthird I think this vid only has 2 ads in the start and in the end ·-·

    • @aidanthird
      @aidanthird 4 ปีที่แล้ว +1

      @@animationgamer3564 yes and the ad played right before this video

  • @Jhonxay
    @Jhonxay 4 ปีที่แล้ว +131

    Next time make a weird chess AI *IN* Scratch.

    • @voidpickle5684
      @voidpickle5684 4 ปีที่แล้ว

      Mad Mew Mew cool,can you make a physics engine(I can’t)

    • @Larree17
      @Larree17 4 ปีที่แล้ว +2

      Angry Pickle? _gestures vaguely at GriffPatch’s tutorial project_ (I think that’s the name)

    • @voidpickle5684
      @voidpickle5684 4 ปีที่แล้ว

      Larree I know,I was just wondering how good she/he is

    • @voidpickle5684
      @voidpickle5684 4 ปีที่แล้ว

      Mad Mew Mew so you’re not as good as you said

    • @adrake1
      @adrake1 4 ปีที่แล้ว +1

      @Mad Mew Mew Chess is 100% possible in scratch and has been made several times in the last 10 years. Personally, I've made a full Texas Hold'em Poker emulator in it.

  • @TVSh0rts
    @TVSh0rts 4 ปีที่แล้ว +23

    Please nerf the Queen, chess players haven't received any update for hundred years.

  • @derkach7907
    @derkach7907 4 ปีที่แล้ว +20

    chess grandmaster watching those chess games be like:" pathetic"

    • @beri4138
      @beri4138 4 ปีที่แล้ว

      I'm not a grandmaster but these games are advanced stupid. Like 3rd stage stupid.

  • @joshuabaker2833
    @joshuabaker2833 4 ปีที่แล้ว +116

    Was listening to Queen and saw this clicked on it straight away

  • @hw2007
    @hw2007 4 ปีที่แล้ว +2

    I love the thumbnail: If about to lose, DONT

  • @bearkybearky3694
    @bearkybearky3694 4 ปีที่แล้ว +8

    I love how you called the bishop the fancy pawn

  • @imnotfuckingusingthisaccou2574
    @imnotfuckingusingthisaccou2574 4 ปีที่แล้ว +8

    The thumbnail: “Oh yeah, it’s big brain time”

  • @echo5172
    @echo5172 4 ปีที่แล้ว +18

    “Sorry that was a dumb intro”
    You LIE!

  • @adrielau5041
    @adrielau5041 4 ปีที่แล้ว +2

    2:43 the AI can play chess -- 1. A5

  • @ElTovarish
    @ElTovarish 4 ปีที่แล้ว +3

    2:51 "oh, BTW, this don't support moves like casting or l'passante... "
    Me:I think that's ok, just start with the basics and-
    "or checkmate"
    Me: Wha..?

  • @bear4304
    @bear4304 4 ปีที่แล้ว +1

    "Now the ai can play a masterful game of chess"
    *ai plays a5*

  • @edo6192
    @edo6192 4 ปีที่แล้ว +33

    Nah, it was an ok intro

  • @fahd2372
    @fahd2372 ปีที่แล้ว

    Normally I don't like videos like these but this one I enjoy :) It's not overly dramatic with the jokes, you explain the issues you faced and sacrifices you had to take overall it's just a really humble video made by a transparent and honest creator. Not like most other youtubers who try to paint themselves under some perfect light. Well done!

  • @MrSpiky
    @MrSpiky 4 ปีที่แล้ว +4

    "But then I decided that Python was better to use, because I found a library with an already made chess engine"
    - nextProgram 2020

  • @lukewagner158
    @lukewagner158 4 ปีที่แล้ว +6

    This is so cool! I tried this project a couple weeks ago, but decided to quit since I know barely any python and know nothing about machine learning. Anyway, it’s cool to see someone who made it work.

  • @BekeroParyin
    @BekeroParyin 4 ปีที่แล้ว +3

    This reminds me a lot of a chess engine I made in high school, I went through a lot of the same steps as you did, although mine recognized checkmate by not playing when the evaluation passed the value of the king. It ended up much weaker than I had hoped, but it did beat one of my friends so I was happy. Thank you for your videos!

  • @user-kx5es4kr4x
    @user-kx5es4kr4x 4 ปีที่แล้ว +3

    AI In the thumbnail: "IM GONNA LOSE!!!!!!" **tips over chess board**

  • @stiky5972
    @stiky5972 4 ปีที่แล้ว +7

    "Chess" is going to be *revolutionary!*

  • @swordyboiii260
    @swordyboiii260 4 ปีที่แล้ว +44

    Make this ai a minigame in your game, and make it so it gives you a prize for beating it!!!!

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว +12

      Haha cool idea

    • @ARMcPro
      @ARMcPro 4 ปีที่แล้ว +5

      yea some sort of an npc that won't let you pass till you beat him

    • @brazgazz
      @brazgazz 4 ปีที่แล้ว

      @@nextProgram haha *_Do it_*

  • @iamveryconfusedabout
    @iamveryconfusedabout 4 ปีที่แล้ว +4

    it's always fun to find a new channel to watch
    I should know, I'm subscribed to more than 750 of them

  • @samdietz2673
    @samdietz2673 4 ปีที่แล้ว +1

    I recently did an assignment on game trees and AI. I used a minimax algorithm and I related so hard when you said “mentally preparing myself before looking at code”

  • @qxt-so3qi
    @qxt-so3qi 4 ปีที่แล้ว +6

    When will you upload the next devlog video

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว +1

      Hopefully in the next couple weeks!

  • @shadowkiller9860
    @shadowkiller9860 4 ปีที่แล้ว +1

    Hey! Nice video! Most of the chess engines base themselves by a *very* complicated minimax algorithm, have lots of chess openings and fundamentals pre-installed, and have specific processors made just for them. All of this said, there is a new chess AI designed by OpenAI called alphazero, that played against itself for 4 hours, and managed to beat the hell out of all the chess engines. And there is another one, called LelaChess Zero, which is the "indie" version of alphazero, and with 1 year of community training it is already a very skilled chess AI that managed to almost beat Stockfish 8, the best engine out there. Just saying some random stuff lol

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว

      Shadow Killer Interesting!

    • @shadowkiller9860
      @shadowkiller9860 4 ปีที่แล้ว

      @@nextProgram Keep up with the great work!

    • @AAA-de6gt
      @AAA-de6gt 4 ปีที่แล้ว

      It didn't 'almost' beat Stockfish 8, it outright beat the strongest version of Stockfish.

  • @apoorrvs
    @apoorrvs 4 ปีที่แล้ว +4

    TH-cam's algorithm blessed me with your channel.

  • @peschebichsu
    @peschebichsu 3 ปีที่แล้ว +1

    Wow I love your video! Interesting and funny too. The fancy pun got me the most xD

    • @nextProgram
      @nextProgram  3 ปีที่แล้ว

      Glad you enjoyed it!

  • @Brendakye2468
    @Brendakye2468 4 ปีที่แล้ว +52

    So as someone with a little more experience programming and has even done a lot of work in pygame... Pygame sucks

    • @Nettakrim
      @Nettakrim 4 ปีที่แล้ว +2

      Can confirm!

    • @powerofthec5908
      @powerofthec5908 4 ปีที่แล้ว

      Yes

    • @tacokoneko
      @tacokoneko 4 ปีที่แล้ว

      lwjgl is better

    • @Kugelschrei
      @Kugelschrei 4 ปีที่แล้ว +2

      It doesn't suck, it really depends on what you are trying to do. Its just a simple drawing library basically, if that's what you need pygame will get you there pretty straight forward.
      Nothing really "sucks" that works. It's just a matter of when to use it.

    • @subzeronitro4686
      @subzeronitro4686 4 ปีที่แล้ว

      I’ve never had a real problem with it

  • @jackbuckham7435
    @jackbuckham7435 4 ปีที่แล้ว +2

    You are definitely a super underrated TH-camr. You should have triple the amount of subscribers

  • @Philyshark7
    @Philyshark7 4 ปีที่แล้ว +8

    "The fancy pawn" 😂🤣

  • @__8120
    @__8120 4 ปีที่แล้ว +2

    "Programming graphics is the worst thing ever"
    *Laughs in processing*

  • @nasuhdebaz390
    @nasuhdebaz390 4 ปีที่แล้ว +13

    noice thumbnail, noicer video

  • @zeFresk
    @zeFresk 4 ปีที่แล้ว +3

    As someone who just created a chess engine last week and made a whole program with python-chess, I'm happy seeing I'm not the only one struggling !

  • @dylanjcondron
    @dylanjcondron 4 ปีที่แล้ว +15

    “The horsey”
    Me: it’s called a knight
    “Fancy pawn that can’t jump over stuff”
    That’s called a bishop

    • @maroonshaded
      @maroonshaded 4 ปีที่แล้ว +9

      In my language it's actually called a horse lol

    • @brazgazz
      @brazgazz 4 ปีที่แล้ว

      It's called a ponyhorse and bunnyrabbit

    • @tobiasgorgen7592
      @tobiasgorgen7592 4 ปีที่แล้ว

      In German it's a jumper. Let that sink in

    • @Rumpael
      @Rumpael 4 ปีที่แล้ว +2

      In Russian, a bishop is an elephant

  • @sr-qu9xd
    @sr-qu9xd 4 ปีที่แล้ว +1

    I just listen to your 4 last video, that's nice. You make easy explanation if I can say. It is fun to watch your progress in programming your game and you got a great voice to listen. Your game look nice but I hope to see some gameplay with enemy. Keep up the good works!

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว

      Thanks for watching!

  • @Corbnorb
    @Corbnorb 4 ปีที่แล้ว +7

    When’s the next vid?

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว +1

      In a few weeks hopefully!

    • @Corbnorb
      @Corbnorb 4 ปีที่แล้ว +1

      @@nextProgram ok :)

  • @phoenixgemini42
    @phoenixgemini42 4 ปีที่แล้ว +1

    "Oh this engine doesnt support castling, en passant, or checkmates. None of those fake chess moves." I died laughing at the checkmate part.

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว

      😅

    • @wateryagarvideos5186
      @wateryagarvideos5186 3 ปีที่แล้ว

      Right when it got to That part I found this comment when scrolling lol

  • @vianelloalessi766
    @vianelloalessi766 4 ปีที่แล้ว +4

    where did you go? why you haven't uploaded videos for 4 months?

  • @koffy_retired
    @koffy_retired 2 ปีที่แล้ว

    "The fancy pawn that can move diagonally but not jump over pieces." See now if we all described Bishops like this, Chess would be solved by now.

  • @Akitta
    @Akitta 4 ปีที่แล้ว +5

    You know your early when the video doesn't even have 500 views yet.

    • @ncoll36
      @ncoll36 4 ปีที่แล้ว +1

      He's a smaller TH-camr, that's not really uncommon. It's 9hrs later and the video isn't at 3k yet.

  • @wooper545
    @wooper545 4 ปีที่แล้ว +1

    me: sees title
    i can make it MORE unbeatable
    in fact...
    it's not even playable
    *error messages increase*

    • @danisob3633
      @danisob3633 4 ปีที่แล้ว

      this isnt the tic tac toe video

    • @wooper545
      @wooper545 4 ปีที่แล้ว

      um i dont watch this channel so I havent seen it but i mean how it says
      if(aboutToLose):
      dont()
      thats what i mean by unbeatable

  • @AJBooker
    @AJBooker 4 ปีที่แล้ว +6

    that thumbnail haha love it

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว +2

      Yeah this video has been in development for months haha. I had a lot of time to come up with dumb jokes lol

  • @scottbigbrain3944
    @scottbigbrain3944 4 ปีที่แล้ว +1

    Sweet man. Sweet. And I can totally sympathize with creating an environment for your agent taking more time than making the agent itself. Kudos man.

  • @hiddensinix2767
    @hiddensinix2767 4 ปีที่แล้ว +5

    Damn this was cool and all man but... what’s a chess?

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว +4

      Lee Doyle Dude i wish i knew

  • @foxer4217
    @foxer4217 4 ปีที่แล้ว +1

    This is so impressive it’s insane! I love watching people code, it’s so satisfying.

  • @fqidz
    @fqidz 4 ปีที่แล้ว +16

    "i cheched on yahoo and..."
    *google.com*
    LIAR

  • @Marhathor
    @Marhathor 4 ปีที่แล้ว +1

    "The Shannon Number" - named after the person who couldn't figure out you can make an infinite amount of moves in a chess game.

    • @xd-os7jl
      @xd-os7jl 4 ปีที่แล้ว

      Its about games not moves :/

    • @Marhathor
      @Marhathor 4 ปีที่แล้ว

      Like I say, a chess game can be infinite.
      It's not synonymous with the amount of possible setups.

    • @xd-os7jl
      @xd-os7jl 4 ปีที่แล้ว

      @@Marhathor because game can be infinite it doesnt mean there isnt finite amount of games played

    • @Marhathor
      @Marhathor 4 ปีที่แล้ว

      Now you're just misinterpreting what I'm saying. That's not what the number's supposed to represent.

    • @xd-os7jl
      @xd-os7jl 4 ปีที่แล้ว

      @@Marhathor No bro, shannon number is lower bound of possible games played(wikipedia), shannon couldn't be wrong, he initiated AI research with his information theory.

  • @ramonpg98
    @ramonpg98 4 ปีที่แล้ว +2

    Can't wait to see your next video!! I really love your content and how good it is, it makes my day. Hoping to see you soon over here!

  • @abhirajx1710
    @abhirajx1710 3 ปีที่แล้ว +1

    The best part was the thumbnail which could be seen from outside the video

  • @EpicVideoGamer7771
    @EpicVideoGamer7771 4 ปีที่แล้ว

    If you continue this project, you should add a delay before the opponent's move to make it more realistic. Also, when a piece is moved, it should quickly slide across the screen to the chosen square. Nice vid :)

  • @pugchamp1795
    @pugchamp1795 4 ปีที่แล้ว +2

    nextProgram upload, must watch now

  • @asetofnumbers
    @asetofnumbers 4 ปีที่แล้ว +1

    "We've doubled again and now we have 7k" *checks subscribers a week later, has doubled again*
    *checks back 21 weeks later, has almost 15 million*

  • @demetresaghliani9048
    @demetresaghliani9048 4 ปีที่แล้ว

    nextProgram: Has a series on indie game development
    also nextProgram: Dies programming chess

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว +1

      This was honestly harder lol

    • @demetresaghliani9048
      @demetresaghliani9048 4 ปีที่แล้ว

      ​@@nextProgram Could've used Unity for it, too, especially since the AI code was so simple 😄

  • @joaquimsartoridesouzacampo301
    @joaquimsartoridesouzacampo301 4 ปีที่แล้ว

    I didn’t know this channel but it’s awesome . Congratulations man

  • @kyletaylor1151
    @kyletaylor1151 4 ปีที่แล้ว

    i was expecting it to be like if the ai is about to lose it flips the board or a gust of wind comes along

  • @doxed64
    @doxed64 4 ปีที่แล้ว

    It’s always nice to sit back and look at code you have created, and compare a compact algorithm to a class.. I like the patterns in the code c:

  • @allennelson1987
    @allennelson1987 4 ปีที่แล้ว +2

    Well, that's no one's fault. I really sympathize with what you're going through. My experiences in Python aren't with chess, but that's the same as my experiences in Python.

  • @MuddyPuddle
    @MuddyPuddle 4 ปีที่แล้ว

    Just found this channel a few hours ago and now I've watched all your videos and subscribed. Hope you upload another video soon.

  • @LeoStaley
    @LeoStaley 4 ปีที่แล้ว

    Did you see SuckerPinch's video on 30 weird chess algorithms? This feels like a fun companion video to that. I have no doubt that TH-cam recommended this video to me because I have watched that one like 5 times. New sub!

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว

      Thanks, I'll check it out!

    • @LeoStaley
      @LeoStaley 4 ปีที่แล้ว

      @@nextProgram It's delightful and hilarious. SuckerPinch is one of the most amazing programmers on youtube, and you should binge all his videos.

  • @aggressivepianonoises813
    @aggressivepianonoises813 4 ปีที่แล้ว

    Why does the structure and diction of this video make it feel jarringly like it was made as a high school project presentation?

  • @HTWwpzIuqaObMt
    @HTWwpzIuqaObMt 2 ปีที่แล้ว

    Good vid man. Also its not really a AI since it doesnt use any ml algorithms like neat etc. Its just ur brain that made that alg and applied it. Keep going mate good job

  • @ErenMortel
    @ErenMortel 4 ปีที่แล้ว

    this is great cause pogchamps is currently happening and youtube recommended your video to me, and it was good

  • @ishashka
    @ishashka 4 ปีที่แล้ว +2

    I tried making a proper chess engine once. Like, with all the actual rules implemented. It was hell

  • @anand.suralkar
    @anand.suralkar 4 ปีที่แล้ว +1

    Lol that thumbnail code perfect works everytime

  • @quelqunx7470
    @quelqunx7470 4 ปีที่แล้ว

    Last year's best chess engine (Stockfish) isn't programmed by machine learning. People only know that a machine learning AI crushed Stockfish at some point, but don't know that Stockfish reclaimed its title the year after.

  • @Skizmo
    @Skizmo 4 ปีที่แล้ว +1

    It's been 5 months since the last keeper devlog! Is it so hard to just upload a 1 minute unedited video telling us what is going on?

  • @cosmicpegasis7591
    @cosmicpegasis7591 4 ปีที่แล้ว +1

    Congrats mate you doubled again!
    You're like the code bullet but more polite

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว +1

      Haha that's good

    • @rebelonionfn
      @rebelonionfn 4 ปีที่แล้ว +1

      Where has he gone?(>﹏

  • @javierolvera
    @javierolvera 4 ปีที่แล้ว

    You get 10k subs in 2 weeks....
    That proves that your content is amazing

  • @Jack-rn3rm
    @Jack-rn3rm 4 ปีที่แล้ว

    such a refreshing channel my man, I love the big programmer channels but they are way too far ahead, you're able to connect with us a whole lot more as you learn along with us
    Thanks for making these videos, I'm sure your inspiring tonnes of new developers to take up the exact same thing

    • @Jack-rn3rm
      @Jack-rn3rm 4 ปีที่แล้ว

      Also, discord link is already broken, not sure if you know that. Would love to join it and talk some time

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว

      Jack Hey thanks, I really appreciate it! That’s good to hear. Thanks for telling me about the link, that’s fixed now!

  • @nahimccreal
    @nahimccreal 4 ปีที่แล้ว +1

    There are so many game devs that are sprouting up and showing how they made their indie games and it's so cool to see. Welcome to the cool game devs table and keep trying new things cause that's how you get better and better :) 👍

  • @Crook4Money
    @Crook4Money 4 ปีที่แล้ว

    That thumbnail is one of the biggest memes I've ever seen. lol

  • @thelazyguy3735
    @thelazyguy3735 3 ปีที่แล้ว

    Here you go calling all these pieces horses and fancy pawns, if you learnt from GM Hikaru you'd call them all juicers and call it a day

  • @purplefire2834
    @purplefire2834 4 ปีที่แล้ว

    I read this as "I made a weird cheese AI from scratch" and honestly I think this should be a thing

  • @felipe3678
    @felipe3678 4 ปีที่แล้ว +1

    your content is amazing bro!

  • @eli_0625
    @eli_0625 9 หลายเดือนก่อน

    "I'm going to make this engine proper"
    *proceeds to not include castling or en passent*

    • @tomtravis858
      @tomtravis858 4 หลายเดือนก่อน

      or CHECKMATE, he didn't even make chess lol

  • @jstara9125
    @jstara9125 4 ปีที่แล้ว

    This is the type of inspiration i need in order to not give up on my game. I hate coding and as someone who has no idea what they're typing, I have to decide between the will to live and opening up Unity! Glad to see your hard work payed of for you!

  • @philippengemann5497
    @philippengemann5497 4 ปีที่แล้ว +1

    That is an amazing video! Thanks for all you work.

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว

      Thanks for watching!

  • @bertiemunn129
    @bertiemunn129 4 ปีที่แล้ว

    I thought this was going to be a weird chess AI in Scratch. now that would be impressive

  • @corniferjr3300
    @corniferjr3300 3 ปีที่แล้ว

    When the first demonstration literally has illegal moves almost immediately and you can't even win. Well this should be fun. Very cool trying to make your own chess engine though

  • @swithin2645
    @swithin2645 4 ปีที่แล้ว

    Best moment at 3:04
    White: Check
    Program: Imma move my pawn
    White: ok

  • @meso_p
    @meso_p 4 ปีที่แล้ว

    i love how he says "yeah my subs have doubled AGAIN" and in a week his subs double

  • @tutmo
    @tutmo 4 ปีที่แล้ว

    You’re awesome man! Already coming up on 10k subs?! Nice👌

  • @0xreflex
    @0xreflex 4 ปีที่แล้ว +1

    Bro you are just like code bullet amazing the only thing you need us a small animation which act to speak when you speak

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว +1

      Haha thanks, I love Code Bullet

    • @0xreflex
      @0xreflex 4 ปีที่แล้ว

      @@nextProgram yup I also follow him and I made a flappy bird ai in python after getting home idea from his video

  • @siriusb2045
    @siriusb2045 4 ปีที่แล้ว +2

    He went from 3 videos for month for no video

  • @diegocastillo6470
    @diegocastillo6470 4 ปีที่แล้ว

    I've been studying Machine Learning algorithms in python for abut 2 weeks, learning so much and found something that I thought was crazy, you can actually predict the people who would survive the Titanic, I found this challenge in Kaggle. I don't know, maybe is something obvious or stupid to any of you guys but for me it was crazy.
    By the way, one more sub. Don't blink, or you could miss your 100.000th subscriber

  • @easternteasers1127
    @easternteasers1127 4 ปีที่แล้ว +1

    pls continue to make these kind of videos

  • @andrasfogarasi5014
    @andrasfogarasi5014 4 ปีที่แล้ว +1

    Technically if you only limit the search to when a king is captured your program is a perfect strategy. Assuming of course that stalemates don't happen. Or infinite loops. And we don't include castling or en passant in the game. And the king is worth infinitely many points.

  • @rayg13
    @rayg13 4 ปีที่แล้ว +1

    Amazing video as always, program!

    • @nextProgram
      @nextProgram  4 ปีที่แล้ว +1

      RayG13 Thanks😅

    • @rayg13
      @rayg13 4 ปีที่แล้ว +1

      nextProgram :)

  • @otesunki
    @otesunki 4 ปีที่แล้ว

    "If (abouttolose) {dont()}"?!?!? I'M WHEEZING LOL