Jump to content

Recommended Posts

Posted

Play TicTacToe against this LEGO Mindstorms EV3 robot. It uses three motors to drop its balls into the right field and a NXTCam to view the board.  It then calculates the best move using a MiniMax Algorithm. All future moves are explored and rated according to their winning chances. An IR sensor detects your hand when you drop your ball.

 

The robot is using red balls and the human player uses blue balls. The java code is available at Github and the building instructions are available for LEGO Digital Designer on my website show in the description. I used the MinuteBot baseplate, which is useful for building static Mindstorms models. I also used a LED lamp to provide consistent lighting that is powered through the USB port of the EV3.

 The position of the camera can be centered on the board using the wrench and through sliding along the axles.

 I hope you enjoy this robot.

More information at http://www.bartneck.de/2017/07/17/tictactoe-playing-lego-mindstorms-robot-using-computer-vision/

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...