Classic connect four game implementation with AI based on min-max tree with alpha-beta pruning in Unity3d (c#). You can read more here:
https://en.wikipedia.org/wiki/Connect_Four https://en.wikipedia.org/wiki/Minimax https://en.wikipedia.org/wiki/Alpha%E2%80%93beta_pruning
http://vinterdo.pl/connectFour/
Requires browser with WebGl and Html5 support
To select types of player, when asked press:
1 for Human Player 2 for Easy AI 3 for Medium AI 4 for Hard AI
To place move as player press 1-7 buttons on keyboard
To let AI move, press any button or click with mouse
To test used algorithm and heuristics i compared my AI with following Connect4 implementation:
http://www.mathsisfun.com/games/connect4.html
Test my Hard AI vs oponent Easy AI:
Test my Hard AI vs oponent Medium AI:
Test my Hard AI vs oponent Hard AI: