Lego Mindstorms Tic Tac Toe Robot | Play a Game of Tic Tac Toe against a Fully Automatic Robot

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024

Комментарии • 45

  • @cnjvhugijfkdm89
    @cnjvhugijfkdm89 3 года назад +4

    Very cool. Could you make it so that as soon as it detects a change in any square, it just skips scanning the rest of the squares and makes its move? Or does it scan all the squares every time to check that no illegal moves have been made?

    • @CreativeMindstorms
      @CreativeMindstorms  3 года назад +2

      Thanks for your comment. The main reason why I made it to scan every square again is because ev3 color sensors can fail sometimes. I wanted to make sure that if the robot didn't pick up the right color, it would correct itself in the next round. In the beginning I had it so that the list of registered colors wouldn't change if it didn't pick up a color, but somehow the robot would be placing a new brick on top of a brick layed by the player and breaking itself.

    • @cnjvhugijfkdm89
      @cnjvhugijfkdm89 3 года назад +1

      @@CreativeMindstorms Ahh makes sense. Thanks for your reply

  • @AstonishingStudios
    @AstonishingStudios 3 года назад +2

    This is your best edited video. Well done!

  • @NickBricks123
    @NickBricks123 3 года назад +3

    You honestly deserve more subs! Keep up the great work!

  • @MegaMike1
    @MegaMike1 3 года назад +2

    Nice did you use EV3 Dev? You can also use Brickpi3

    • @CreativeMindstorms
      @CreativeMindstorms  3 года назад

      Yes, I used EV3dev with the micropython extension for Visual Studio Code. I chose this because i'm already used to programming with ev3dev as I used it for my 3D printer as well.

    • @MegaMike1
      @MegaMike1 3 года назад +1

      @@CreativeMindstorms Wow Im starting on how to use it. Great job!!

  • @jessethijssen7799
    @jessethijssen7799 3 года назад +2

    Hmm, I think I know this music😁

  • @keanorobotics9219
    @keanorobotics9219 3 года назад +2

    Just discovered your channel. Love the editing and build, great job !

  • @Creative_Electronics
    @Creative_Electronics 3 года назад +3

    1:44 Hahaha, dat is wel weer goed bedacht! Zeer goed geëdit! Goede video!
    1:53 Done ;-)

    • @CreativeMindstorms
      @CreativeMindstorms  3 года назад +2

      Hahaha, dankjewel! Zo zie je maar, het is heel makkelijk om codes te begrijpen ; ). Dankjewel voor het volgen van de instructies ; )

    • @Creative_Electronics
      @Creative_Electronics 3 года назад +1

      ​@@CreativeMindstorms Haha, graag gedaan! Je verdient de like ;-)
      Vraagje: Hoeveel abonnees heb je erbij gekregen door je virale video? Ik ben daar wel nieuwsgierig naar want 7000 views is wel veel ;-)

    • @CreativeMindstorms
      @CreativeMindstorms  3 года назад +2

      Inderdaad, ik heb door die video ongeveer 35 abonnees erbij gekregen!

    • @Creative_Electronics
      @Creative_Electronics 3 года назад

      @@CreativeMindstorms Amai, da's veel! Proficiat :)

    • @Creative_Electronics
      @Creative_Electronics 3 года назад +1

      Mijn beste video (23k views) heeft me tot nu toe zo'n 53 abonnees opgelverd en elke maand zijn er mensen die zich door die video abonneren op mijn kanaal!

  • @TurtleLegoProductions
    @TurtleLegoProductions 3 года назад +3

    Very cool!

  • @patgamer4567
    @patgamer4567 3 года назад +2

    Great video. It was probaly very hard to code that robot

    • @CreativeMindstorms
      @CreativeMindstorms  3 года назад

      Thank you! Indeed, but if you keep trying you'll always succeed!

    • @patgamer4567
      @patgamer4567 3 года назад +1

      @@CreativeMindstorms that's right. also I have an idea for new project: coconut opener.

    • @CreativeMindstorms
      @CreativeMindstorms  3 года назад

      Thanks, i'll see!

  • @bhargav6796
    @bhargav6796 2 года назад +3

    can you please give the python code. please!!!!!!!!!!!!!!!!!!!!

    • @CreativeMindstorms
      @CreativeMindstorms  2 года назад

      Hello!
      Good to see you're interested!
      This is the code I used:
      drive.google.com/drive/folders/1Eh72HcpT5PDc8S02v5fCVcsMbbnPnoOH?usp=sharing
      It's written in Python. If you don't know how to work with python, I got a little bit of a tutorial on this site:
      www.instructables.com/LEGO-3D-Printer-Using-3D-Models/
      Let me know if you have any questions and good luck!
      Thanks for your comment!

    • @bhargav6796
      @bhargav6796 2 года назад +1

      @@CreativeMindstorms thank you sir

    • @bhargav6796
      @bhargav6796 2 года назад +1

      @@CreativeMindstorms I actually made a robot that moves forward and i attached 3 color sensors to it now i want it to move one step forward take teh information of last row then again move forward to take information of 2nd row and again move one step Forward to sense the 1st row and display the block name where we want to put the ai chance.
      Is it possible to communicate with you sir any day when you are free?

    • @CreativeMindstorms
      @CreativeMindstorms  2 года назад

      @@bhargav6796 You can send me an email (creativemindstorms1@gmail.com) and sure, I'll try to help you!

    • @bhargav6796
      @bhargav6796 2 года назад

      @@CreativeMindstorms thank you sir

  • @totallynotyoutuber
    @totallynotyoutuber 10 месяцев назад +1

    What algorithm did you use for the AI?

    • @CreativeMindstorms
      @CreativeMindstorms  10 месяцев назад

      There is no advanced algorithm behind it actually. It does a random move unless either the machine can win (then it does the winning move) or the player can win (then it blocks the winning move).

  • @FreeHugs4Any03
    @FreeHugs4Any03 10 месяцев назад +1

    𝔻𝕠𝕟𝕖

  • @rensjuh
    @rensjuh 3 года назад +2

    New video! Hyped!

    • @CreativeMindstorms
      @CreativeMindstorms  3 года назад

      Hoe ben jij binnen 1.14214 milliseconde bij deze video!? Hahah

    • @rensjuh
      @rensjuh 3 года назад

      @@CreativeMindstorms Notisquad hehe

  • @yinhuitan6753
    @yinhuitan6753 Год назад +2

    done!

  • @brandenfourie2449
    @brandenfourie2449 3 месяца назад

    Every thing i want to build has gear racks but i dont have any😢

    • @CreativeMindstorms
      @CreativeMindstorms  3 месяца назад

      Oh that's a shame. Sometimes, you can also use wheels with rubber tires on normal Lego.

    • @brandenfourie2449
      @brandenfourie2449 3 месяца назад

      @@CreativeMindstorms i thought about that
      I have mixed mindstorms 31313 sets will they work

    • @brandenfourie2449
      @brandenfourie2449 3 месяца назад

      ​@@CreativeMindstormsa link for the code would be nice then i make my own

    • @CreativeMindstorms
      @CreativeMindstorms  3 месяца назад

      @@brandenfourie2449 I can give you the code, but it is my second python project ever and it is very inefficient, so I don't recommend using it lol
      You can send me an email and I'll send it to you if you want.

    • @brandenfourie2449
      @brandenfourie2449 2 месяца назад

      @@CreativeMindstorms ok