Inspiration

We're both AI enthusiasts who enjoy playing board games, and the idea of merging those interests making a website where you can play board games with AI was a natural join of our interests.

What it does

Users can play against AI in Tac Tac Toe and Connect4 at different difficulties.

How we built it

We used React SPA and implemented the board games using free images online. We developed the AIs through Minimax algorithms.

Challenges we ran into

Playing around with React's hooks, including UseStates. If you're not familiar with it, there's a ton of odd quirks that Reacts hooks can cause, which made it challenging at times to get the logic of the games right and working consistently. We also had issues trying to promote variety and stochasticity in the AI games and tried different approaches to give games a more natural, dynamic feeling.

Accomplishments that we're proud of

It was both of our first hackathons, so we're proud we were able to accomplish our base goals and get the AI up and running.

What we learned

That two days isn't a lot of time to develop an application, and we learned minimax and React much more deeply.

What's next for AI Arena

Adding more games, improving the AI, adding more customizability to the AI in each game, and potentially (with a project name change) add online support as a stretch goal so families and friends can play board games with each other online.

Share this project:

Updates