-
-
The view on the raspberry pi. Draws both the X and the O as well as showing the box which represents the fish location
-
The arduino and raspberry-pi together. The arduino uses pin interrupts from the raspberry pi gpio pins
-
Without the fish bowl but the arduino, raspberry-pi, lcd, and leds which indicate which turn it is
-
Scoreboard displaying wins by either X or O
-
Indicating lights which show which players turn it is. Blue for X, red for O
Inspiration
Massive tic-tac-toe fans. Trying to impress vegan girlfriend by showing fish are friends.
What it does
Has two fish play tic tac toe against each other. Uses machine learning algorithm to track the fish in the video input and map their location to the gameboard playing either an X or an O. We also have different LED's turn on depending on which fish's turn it is and a scoreboard which keeps track of total wins of X's and O's.
How we built it
We built this through sheer determination. We used python to run open-cv which could track the fish in space and used that information to play tic tac toe. Using the general input and output pins of the raspberry pi, we sent over information to an arduino which updated which players turn it was and the overall score between X victories and O victories.
Challenges we ran into
We ran into many challenges throughout our journey. Covid tried to stop us, unsuccessful operating systems, raspberry-pi bottlenecks and more. Luckily through the power of perseverance we were able to overcome these obstacles.
Accomplishments that we're proud of
We are proud of how we dealt with adversity and had fun. Although the project did not turn out exactly how we had hoped with a twitch stream, we still were able to accomplish an interactive tic-tac-toe which adds X's or O's based on an objects location in space. We also were very happy with our video intro.
What we learned
We learned a lot along the way. Number one of course being friendship. We also learned about raspberry pi general input output and how to use it. We also learned how to create scheme to communicate between both the boards. Our skills of reading documentation were also refined during this process.
What's next for Fish-Tac-Toe
We are hoping to get the tracking working more effectively on the raspberry pi. In the future we would like to to be streamed online for the world to view with chat interaction!

Log in or sign up for Devpost to join the conversation.