Inspiration

We wanted to take this opportunity to enhance our coding skills, while making something fun in the progress. Doing something new always attracts us. This was the first time we played with many programming phenomenons, such as APIs.

What it does

When you tweet @tictoctaebotfun #haha, a bot will automatically respond. Our goal was to include a link to a ticktacktoe webpage that we would develop ourselves. For now the parts are separate and the bot only gives back a message, which will just have to be incorporated with the website.Another team member worked on the database to keep a history of the games played by the user with mongoDP. We also used AI to make the bot a worthy opponent in tiktoctoe.

We set up an MongoDB atlast cluster to hold user data, including current game and how many games the user has won. Using pymongo we were able to update and read from this data base through a flask web app. The take away from this component was acheiving communication between the app and the database. The next step is to integrate the DB into the app, utilizing real user information.

Challenges I ran into

Because it was our first time using APIs, we ran into challenges on how to interact with it, as well as AI that will make the bot respond appropriately to moves to the player. In addition, we still have the challenge on putting it together, which we will attempt to do even after the hackathon. After working many hours on this project, we ran into challenges submitting it, as our brains were slowly diminishing.

Accomplishments that I'm proud of

Even though the parts are separate, we are really proud of what we accomplished. A day ago if you asked us to use a cloud with the database, work with AI and even APIs, we would not know how to respond. However, now we are more confident in our coding skills. With our teamwork, we were able to put together something we would show our parents.

What I learned

We learned about the twitter API, cloud services, databases, AI, python, javascript, flask, web development, etc.

What's next for Twitter-bot-tic-tac-toe

We are going to try to bring all of our elements together after the hackathon, since we did not do it in time.

Built With

Share this project:

Updates