I made my own chess bot (Part 1)

Поділитися
Вставка
  • Опубліковано 27 вер 2024
  • Computer Engineering For Babies (order your book here):
    computerengine...
    Check my (somewhat hacky) code here on github:
    github.com/dat...
    References
    en.wikipedia.o...)
    www.popsci.com....
    www.britannica...
    Sebastian Lague’s Chess Computer Videos:
    • Algorithms Explained -...
    • Coding Adventure: Chess
    Quote from Stuff Made here:
    • Worlds hardest jigsaw ...
    Tom Scott AI video:
    • I asked an AI for vide...
    Stock Clip:
    www.storyblock...
    Special Thanks for Music:
    AM 1984
    Waveshaper

КОМЕНТАРІ • 195

  • @CosmoSimpDragon
    @CosmoSimpDragon Рік тому +49

    why is this channel so underrated

  • @nutmeg3910
    @nutmeg3910 Рік тому +19

    This is fascinating! It’s funny that the knight is the easiest to teach a computer because humans tend to be confused by it at first 😂

  • @waddupbro
    @waddupbro Рік тому +12

    "Too bad you can't build a chessbot" Famous last words

  • @eduardolins5391
    @eduardolins5391 Рік тому +4

    i first saw you in the Tom Scott ad, but after i saw you again in the gotham chess ad, i just had to see you

  • @chasemadison
    @chasemadison Рік тому +7

    Great Video! Also, your sponsor is really, really, ridiculously good looking. You two should team up and make another video.

  • @Maoismus1917
    @Maoismus1917 Рік тому +2

    im here from the video of tomscott being terrified of ai and i got the ad on that specific video

  • @netec5811
    @netec5811 Рік тому +1

    I was impressed by your oversimplified ad. New sub

  • @HansLemurson
    @HansLemurson Рік тому +3

    I made a chess engine recently, and let me tell you: handling Castling and En-Passant was VERY challenging! They both violate the normal rules about how, when, and where a piece can move.
    For most of the rest of the moves, you can follow the paradigm: "Piece moves from A to B, and any enemies at B are captured", but not these...

  • @lapicethelilsusboy491
    @lapicethelilsusboy491 Рік тому +1

    "It looks like you are watching some Gotham Chess videos"

  • @klungusxyz
    @klungusxyz Рік тому +1

    Here from your Jay Foreman advert! Big chess guy so this was a great first vid to find

  • @Fantastish29
    @Fantastish29 Рік тому +6

    Would love to see the result, not onlt when its finished, but with process too! As always, keep up the great work!

  • @Vaaaaadim
    @Vaaaaadim Місяць тому

    7:45 "Next I need to tell the computer how to play chess, which is basically programming all of the legal moves into the computer. This was the part I was told would be the hardest, but it's not quite as bad as I thought."
    *Doesn't implement castling and doesn't forbid the king from moving into check*

  • @Selver404
    @Selver404 Рік тому

    Your ad popped up while i was watching GothamChess and mentioned him so i decided to come and comment

  • @fikunmiajayi
    @fikunmiajayi Рік тому +3

    Here from Gotham chess
    And excited as f since I'm also learning neural networks

  • @YoItsMurro
    @YoItsMurro Рік тому

    Came here from your add that said who you were watching and it shocked me so much I’m watching your content now

  • @khizeral
    @khizeral Рік тому

    man that Jay foreman ad got me

  • @icantlivewithoutnesquik2032
    @icantlivewithoutnesquik2032 Рік тому +1

    adds got me here. great idea!

  • @ukrwaredits
    @ukrwaredits Рік тому +2

    rook going back and forth go brrrrr

  • @adrianshawuk
    @adrianshawuk 10 місяців тому +1

    Who else thought a Klingon warrior is about to arrive?

  • @TheguyfromDetroit
    @TheguyfromDetroit Рік тому +2

    dude these videos are awesome, keep going you'll make it big one day soon

  • @rileyfitzsimons8875
    @rileyfitzsimons8875 Рік тому +10

    I still have no idea if you are the same person or two twins from that chess intro which looks so realistic

    • @DataTime27
      @DataTime27  Рік тому +4

      Haha. Thank you! I/we appreciate it 😁

  • @technicalbridger490
    @technicalbridger490 Рік тому +2

    I actually found the ad from a GothamChess video. krazy

  • @riddhimanbarma
    @riddhimanbarma Рік тому +2

    I like how you made an ad for *gothamchess* !(even though i found you through a *tom scott* ad)

  • @IvannChristian777
    @IvannChristian777 Рік тому

    You're damn underrated bruh

  • @hujandrazz
    @hujandrazz Рік тому +1

    This feel unreal, an interesting channel like you doesn't have a lot of viewers?

    • @DataTime27
      @DataTime27  Рік тому

      Thanks! That's what I keep thinking! 😁

  • @Beast-cc9nb
    @Beast-cc9nb Рік тому +3

    Came from an ad😂 awesome

  • @hongheng9510
    @hongheng9510 Рік тому +1

    Croissant

  • @neillaallien4989
    @neillaallien4989 Рік тому

    here i thought from that one ad that this channel was real famous and it only has 14k? underrated broooo ❤😭

    • @DataTime27
      @DataTime27  Рік тому +1

      I know right! I'm trying to change that. Thanks!

    • @neillaallien4989
      @neillaallien4989 Рік тому +1

      @@DataTime27 frrrrr! i hope more people see your content cuz its actually so good

  • @vampirecupcake
    @vampirecupcake Рік тому

    My question is how the heck did u know what I was watching through an ad

    • @DataTime27
      @DataTime27  Рік тому

      Did you watch the explanation video

    • @vampirecupcake
      @vampirecupcake Рік тому

      @@DataTime27 I have seen the explanation video and I am still wondering your using AI to say different channels depending on what channel I am watching and that AI scans the channel then makes u say the name of the channel in the ad cause I'm still freaking out about that I thought my VPN wasn't working

    • @DataTime27
      @DataTime27  Рік тому

      No there's no AI. I just record myself saying 10 or 20 different channel names, then I create 10 or 20 ads and UA-cam just plays the correct ad on the correct channel.

  • @itsMeMingo1
    @itsMeMingo1 Рік тому

    How did u find out i was watching a gametheory video

    • @DataTime27
      @DataTime27  Рік тому

      Watch my default video on my channel page

  • @patriciocastillo2772
    @patriciocastillo2772 Рік тому +1

    Nice content 😁

  • @maulikshah28
    @maulikshah28 Рік тому +1

    Awesome!

  • @jamescusack6511
    @jamescusack6511 Рік тому

    Great to see this channel get sponsored!

    • @DataTime27
      @DataTime27  Рік тому

      Thanks! Looking for more sponsors!

  • @ashukhanna5414
    @ashukhanna5414 Рік тому

    wow I found you from game theory and you make amazing videos

    • @DataTime27
      @DataTime27  Рік тому

      Oh thank you so much! Glad you found it!

  • @PaulsArena
    @PaulsArena Рік тому +1

    You're gonna be the next best thing

  • @zndx3032
    @zndx3032 Рік тому

    Idk you can actually pick a chanel to get your ads on them *form gotham chess viewers*

    • @DataTime27
      @DataTime27  Рік тому

      Yep 😊. Check out my video about how I grew my channel using ads

  • @WeirdManDobi
    @WeirdManDobi Рік тому

    CASTLE AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

  • @zealotgamez7796
    @zealotgamez7796 Рік тому

    Underrated

  • @MarinatedTaco
    @MarinatedTaco Рік тому

    I was watching a Mark Rober video and i saw a ad saying you were watching a mark rober video I was about to report you until you said because something intelligent 😂

    • @DataTime27
      @DataTime27  Рік тому

      Report me?

    • @MarinatedTaco
      @MarinatedTaco Рік тому

      not anymore but it sounded creepy for the first moment 😂

  • @Samsks
    @Samsks Рік тому +1

    Who came here because of the gothamchess ad? Lmao

  • @abdullahahmad3654
    @abdullahahmad3654 Рік тому

    How can I play against this

    • @DataTime27
      @DataTime27  Рік тому

      Go to my next video (Part2) and make your first move in the comments. You can see all of the other comments where people have made moves.

  • @py2373
    @py2373 Рік тому

    I found this channel from the mark rober video
    Edit: have not watched the video yet but alpha zero is a brute forceer

    • @DataTime27
      @DataTime27  Рік тому

      Yeah I think alpha zero is using machine learning

  • @Watermelon_cat815
    @Watermelon_cat815 2 місяці тому

    can i have the code

    • @DataTime27
      @DataTime27  2 місяці тому

      Check my (somewhat hacky) code here on github:
      github.com/datatime27/videos/tree/main/chessbot

  • @alexandereichenseer1326
    @alexandereichenseer1326 Рік тому

    But there are AI chess engines. Alphazero, leela for example

    • @DataTime27
      @DataTime27  Рік тому

      Yes but they don't satisfy my requirements for this chess engine

    • @alexandereichenseer1326
      @alexandereichenseer1326 Рік тому

      @@DataTime27 thx for responding, makes the intro to me just less watchable :(

    • @DataTime27
      @DataTime27  Рік тому

      Well the intro is where I describe my particular goal for this chess bot. People create all kinds of chess bots that operate differently

  • @Scarlet_31
    @Scarlet_31 Рік тому

    bro how did you know I was watching a gothamchess vid? 💀

    • @DataTime27
      @DataTime27  Рік тому +1

      Check out my video about how I used ads to grow my channel

  • @waddupbro
    @waddupbro Рік тому +1

    Waddup bro

  • @leatangerine
    @leatangerine 4 місяці тому

    Hey there
    We're working on launching an automated chess robot and we'd love to get your input to make it the best it can be! We're particularly interested in hearing from potential users like you about what features you'd like to see and what you think would be a fair price.
    Just to give you some context, we're a team within a leading AI company in Asia, focused on developing chess robots. We've already introduced two successful board game products that combine top-notch AI technology with robotic arms. They've been a hit in China for the past 2 years, finding their way into tens of thousands of households.
    Reply if you are up for a chat about it!

    • @DataTime27
      @DataTime27  4 місяці тому

      Oh that's interesting. What's the name of your product?

    • @leatangerine
      @leatangerine 4 місяці тому

      @@DataTime27 It’s SenseRobot! Maybe I can send more details to your email?

    • @leatangerine
      @leatangerine 4 місяці тому

      @@DataTime27 It's SenseRobot! Maybe I can send more details to your email? Also need your help to fill a questionaire about feature requests.(Don‘t know why me reply seems to be removed yesterday....

    • @DataTime27
      @DataTime27  4 місяці тому

      Links are not permitted in comments. Yes email is better

    • @leatangerine
      @leatangerine 4 місяці тому

      @@DataTime27 Could you please give me your email address? Haven’t find it in your page

  • @Vegetiger
    @Vegetiger Рік тому

    Who else found this channel by game theory?

  • @mrpianistanddrumcover2970
    @mrpianistanddrumcover2970 Рік тому

    e4

    • @DataTime27
      @DataTime27  Рік тому

      Pawn to d6
      Oh that's an interesting temptation
      lichess1.org/export/fen.gif?fen=rnbqkbnr%2Fppp1pppp%2F3p4%2F8%2F4P3%2F8%2FPPPP1PPP%2FRNBQKBNR&lastMove=d7d6&piece=cburnett&theme=brown&variant=standard

  • @hibruh208
    @hibruh208 Рік тому +8

    You are super underrated!
    Found you from your ads and I've been watching every video since!

  • @coolcat1789
    @coolcat1789 Рік тому

    e4

    • @DataTime27
      @DataTime27  Рік тому

      Sorry my system is setup to play on the other chess video (the Part 2 video)

  • @quandleDongle
    @quandleDongle Рік тому +5

    I was watching Gotham chess video and your ad popped out. You definitely got me with the one

  • @EvilDMMk3
    @EvilDMMk3 Рік тому +3

    Notice me Tom-Sempai

  • @williamnuss-ne9ex
    @williamnuss-ne9ex Рік тому +2

    Anyone here from the gotham chess ad?

  • @PhoenixSeer_
    @PhoenixSeer_ Рік тому +3

    Saw dude from an ad. Immediately intrigued.

  • @georgiancountryball202
    @georgiancountryball202 Рік тому +2

    HOW DA HELL DID YOU KNOW I WAS WATCHING GOTHAM

    • @DataTime27
      @DataTime27  Рік тому +1

      Haha it's just ads. Check out my video on how I grew my channel using ads

  • @manco8412
    @manco8412 Рік тому +1

    I was watching a Jay foreman video when I get an ad for this channel addressing the fact I’m watching a jay foreman video, I don’t know why but that was unsettling, anyways it worked, this channel seems fun

  • @Ak1Cool
    @Ak1Cool Рік тому +1

    HOW DID YOU KNOW I WAS WATCHING GOTHAM CHESS

    • @DataTime27
      @DataTime27  Рік тому

      Haha 😂. Check out my video on how I grew my channel using ads

  • @nuspli3370
    @nuspli3370 Рік тому +4

    Hey, I'm glad I found your channel. I've also been developing my own chess engine for almost a month now (in javascript) and I can definitely relate to a lot of things you talked about. I also found sebastians video extremely helpful and would say I got most of that done by now. Mine also supports castling and en passant, which was a real headache, but I think I'm at the end in terms of speed for my current board representation (2d array with numbers from -6 to 6) and that's why I'll be trying to rewrite it using bitboards.
    A few things that might be worth looking into, if you didnt do that already:
    zobrist hashing, which actually isnt that hard
    null moves
    aspiration windows
    bitboards
    parrallel searching

    • @DataTime27
      @DataTime27  Рік тому

      Oh wow that's awesome! Let me know how it goes!

    • @nuspli3370
      @nuspli3370 Рік тому

      not good at all really. it seems like I picked the worst programming language for making a chess engine. turns out, javascript doesnt support 64bit integers, and I spent the past 5 days rewriting everything just to figure that out. It works, but 99% slower (I benched it). the only way I can think of implementing bitboards now is instead using two 32bit integers for each bitboard. I'll let you know in like another week when I'm done (or finally quit).

    • @DataTime27
      @DataTime27  Рік тому

      Oh no. Yeah I don't think JavaScript was designed for this kind of development. I also suspect JavaScript will be slow at computing the results

    • @nuspli3370
      @nuspli3370 Рік тому +2

      Just a little update, I finally managed to get it working faster than before using the 32 bit bitboards. not a lot, but I still didn't rewrite most of the optimizations from before.

  • @gabrielborre9235
    @gabrielborre9235 Рік тому +1

    why is this channel so underrated im just saying why?

  • @prokaryotesys
    @prokaryotesys Рік тому +2

    just like everyone else, found y'all via the ads. overall an interesting channel! good shit.

  • @victoriahaller7600
    @victoriahaller7600 Рік тому +1

    Welp! I’m sold! Great add on Game Theory Sir! Way to get my attention! I’m hooked!

    • @DataTime27
      @DataTime27  Рік тому

      Awesome. Thanks so much for joining!

  • @mkNf-uk8py
    @mkNf-uk8py 4 місяці тому

    It's called "CHESS ENGINE", not chess bot 🤦‍♂️

  • @soisaus564
    @soisaus564 Рік тому +1

    *" CASTLEEEE !! "*
    - wise words by a wise man

  • @justsomebody6037
    @justsomebody6037 Рік тому +1

    I loved how your ad predicted me watching gothamchess😂

  • @itsmariusmilu
    @itsmariusmilu Рік тому

    Your ads ar a bit scummy. I have nothing against you, is just a friendly opinion that you don’t grow your channel by running ads on others. That way mr Bist would have all the views 🤷‍♂️

    • @DataTime27
      @DataTime27  Рік тому

      Scummy? Here is how my ad strategy has been really successful for my channel: ua-cam.com/video/jWpICPGi0iI/v-deo.html

  • @KingQasimAnimz
    @KingQasimAnimz Рік тому

    I just have to know how did you know i was watching a game theory video

    • @DataTime27
      @DataTime27  Рік тому

      Did you click on the link to see?

    • @DataTime27
      @DataTime27  Рік тому

      ua-cam.com/video/jWpICPGi0iI/v-deo.html

  • @TheAstroG
    @TheAstroG Рік тому

    How did you know I was watching gotham?

    • @DataTime27
      @DataTime27  Рік тому +1

      Haha. Check out my video about how I used ads to grow my channel

  • @jaderdominguez6806
    @jaderdominguez6806 Рік тому

    how tf did you know i was watching levy

    • @DataTime27
      @DataTime27  Рік тому

      Check out my video about how I grew my channel using ads

  • @xozioral
    @xozioral Рік тому

    saw you guys in advertisement. how you guess i was watching gothamchess?

    • @DataTime27
      @DataTime27  Рік тому

      Here is how I did it: ua-cam.com/video/jWpICPGi0iI/v-deo.html

    • @xozioral
      @xozioral Рік тому +1

      @@DataTime27 OOOHHH thats how, thanks for telling me how lol

  • @mathmagician8191
    @mathmagician8191 11 місяців тому

    Leela is actually trained without human knowledge, it learns how to play from playing millions of games against itself

  • @ghiyas5047
    @ghiyas5047 Рік тому +2

    Anyone else here from the game theory ad WHILE watching game theory??

  • @profesorleonardo1645
    @profesorleonardo1645 Рік тому

    Great videos, but I can't help being freaked out by the fact that I can't figure out if you are twin brothers or one guy with two recordings in each scene...

    • @DataTime27
      @DataTime27  Рік тому

      Haha. I/we thank you 😁. Watch the video about murder in the south pole. It might be more revealing.

  • @thearyamedicalstores2783
    @thearyamedicalstores2783 Рік тому

    e4

    • @DataTime27
      @DataTime27  Рік тому

      Thanks. Can I ask that you add your move to the other video instead (Part 2). That's where I have the game setup to play.

  • @Gar136
    @Gar136 Рік тому

    Can’t wait for your channel to blow up so I can say I was one of the firsts!!!

  • @Stoicity321
    @Stoicity321 Рік тому

    yoo, im glad i found your channel through botezlive's ad, i was planning on making a chess bot myself for my uni project this sem, and I added this video as a reference

    • @DataTime27
      @DataTime27  Рік тому +1

      Oh awesome! Hope it helps! Check out Sebastian League's videos. They are great

    • @Stoicity321
      @Stoicity321 Рік тому +1

      @@DataTime27 Yeah i have watched those too, currently i'm learning sorting algorithms, I have six months to submit my project, hope you'll keep bringing these awesome videos

  • @Alex-bt1xs
    @Alex-bt1xs Рік тому

    Great video. Wishing you the best of luck.

  • @infinitypk2216
    @infinitypk2216 Рік тому

    Love your videos ... Keep it up 🎉

  • @fikunmiajayi
    @fikunmiajayi Рік тому +1

    1.d4

    • @DataTime27
      @DataTime27  Рік тому +1

      Knight to c6
      lichess1.org/export/fen.gif?fen=r1bqkbnr%2Fpppppppp%2F2n5%2F8%2F3P4%2F8%2FPPP1PPPP%2FRNBQKBNR+w+KQkq+-+1+2&color=white&lastMove=b8c6&variant=standard&theme=brown&piece=cburnett

    • @fikunmiajayi
      @fikunmiajayi Рік тому +1

      @@DataTime27 2. e4

    • @DataTime27
      @DataTime27  Рік тому +1

      Knight takes Pawn on d4 (Nxd4)
      lichess1.org/export/fen.gif?fen=r1bqkbnr%2Fpppppppp%2F8%2F8%2F3nP3%2F8%2FPPP2PPP%2FRNBQKBNR+w+KQkq+-+0+3&color=white&lastMove=c6d4&variant=standard&theme=brown&piece=cburnett

    • @fikunmiajayi
      @fikunmiajayi Рік тому

      @@DataTime27 Qxd4

    • @DataTime27
      @DataTime27  Рік тому

      Pawn to e5
      lichess1.org/export/fen.gif?fen=r1bqkbnr%2Fpppp1ppp%2F8%2F4p3%2F3QP3%2F8%2FPPP2PPP%2FRNB1KBNR&lastMove=e7e5&piece=cburnett&theme=brown&variant=standard

  • @MantissaMr
    @MantissaMr Рік тому

    This is such a great channel!

  • @logik2448
    @logik2448 3 місяці тому

    e4

    • @DataTime27
      @DataTime27  3 місяці тому

      Sorry. New games are now closed

    • @logik2448
      @logik2448 3 місяці тому +1

      @@DataTime27 oh, you replied??? Damn, man, your content is amazing. Include me in an outro of your next video!! Or don't, I don't really care :D

  • @universal_pawn7442
    @universal_pawn7442 Рік тому

    holy shit this channel is an hidden gem