Inspiration We saw that you can play snake on twitch plays and we thought that was really cool. We had the idea that maybe we could play pokemon using twitch plays but we soon realized that was a huge project. We then thought of making a tic tac toe game where we can do twitch chat versus the computer ai. Our ai is not very intelligent at all.

What it does Our project is a tic tac toe game that takes inputs from twitch chat using the hacker twitch plays API. We play as X and the computer plays as O. When twitch chats votes for a square 1 through 9 correspondings to the boxes on the board. When twitch chat votes for a square, whichever box wins the vote is where the X goes. The computer will then put an O in a random spot in the available locations. Ideally, we wanted it to have minimax ai program but we realized that was hard to implement.

How we built it We built it using python and the twitch api. Weused turtle as well which is how to draw on python.

Challenges we ran into We rn into issues with the result not updating and that set us back a couple of hours. We also ran into the problem that the minimax ai would take too long to implement so we had to go with a dumb version of an ai.

Accomplishments that we're proud of We are proud of how we used twitch api comboed with our tic tac toe game that we made using draw when we never used them before.

What we learned We learned how to use twitch plays, how to draw, and how to use python.

What's next for Twitch Plays Tic Tac Toe We will implement minimax ai for the computer moves and we will also add a scoreboard the will update.

Built With

Share this project:

Updates