What it does

This game allows you to play Connect4 against a computer. We attempted to make the virtual opponent with AI. However, after researching, we realized that we did not have enough time to complete a full minmax algorithm with AlphaBeta pruning, so we implemented a simpler function that doesn't look ahead as far, but still is somewhat forward-thinking.

How we built it

This project was built using C++ and terminal.

Challenges we ran into

We ran into challenges due to our lack of knowledge in different coding languages, which led us to simply make a program in C++.

Accomplishments that we're proud of

We're proud that we learned so much about AI over the course of one night.

What we learned

We learned more about C++, and we also learned an important lesson about not biting off more than you can chew, as our first few project ideas were out of our reach for us.

What's next for Connect4 AI(ish)

Next for this project, we want to use actual AlphaBeta pruning with a minmax algorithm to flesh out the artificial intelligence aspect of the project a bit more.

Built With

Share this project:

Updates