This is for my science fair. It uses an Alpha-Beta AI to, in theory play connect 4. I am uploading it to phosphorus, so I can see if it actually works... Right now, it is really good and hard to beat, but it is so slow, I have to run it through phosphorus. You can see it at http://phosphorus.github.io/#92523031
Click to drop a chip. The computer AI is something called alpha-beta AI. It finds every possible series of moves it can make in the next 4 turns, and tests every one of them. Out of those, it chooses the one that has the most likely chance it winning. If you put it on N, normal, it will just try to win as efficiently as possible. If you put it on S, stalling, it will try to prevent either player from winning. If you put it on I, idiot mode, it will try to lose. Comment any glitches you find, or if you manage to beat it on normal mode.