Skip to content

krydderen/Tic-Tac-Toe-UR3-Python

Repository files navigation

Tic-Tac-Toe Algorithm

\ UNFINISHED README.MD \ For deeper details, the report can be provided if wanted. Cannot be uploaded due to its size.

This project is in the subject Industrial Management Systems at NTNU. The finished result provides a base grade the examinator will use to set the final grade. The following project is about making two UR3 "cobots" work together to play a game of Tic-Tac-Toe. The result of this was the said robots managed to play against each other in "dummy" and "medium" mode, whereas "dummy" was just plain random and "medium" tried to win. Hardcore mode was planned done, but never finished as the algorithm had issues collaborating with our program written the WAGO PLS, where our signals from Python was taken through to ensure no collisions and have a safe play-area.

The project was presented as a part of the oral exam in the said subject, alongside a written report where we explain our procedure to make this robot work as we want, our methodology and problems along the way along with images and text from the start to the end result.

Deployment

  • 2x UR3 ( CB31UR3 )
  • Whiteboard ( 50cm x 70cm )
  • Whiteboard earser
  • 2x Markers ( Red and blue )
  • Logitech WebCam ( Used to scan the whiteboard )
  • WAGO PLS ( 750-8214 PFC200 )
  • 2x Pen Holder Tool ( 3D Printed )
  • Camera Stand
  • Ethernet Cable
  • Switch
  • PC for GUI ( Microsoft Surface Go )
  • PC for image processing and python algorithm

Prerequisites

pip install opencv-python
pip install numpy
pip install pymodbus

Built With

Contributing

If you find anything wrong or wonder about something, please create a Pull request.

License

MIT

Author

About

Algorithm for checking a game of Tic Tac Toe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages