c4, stands for Connect Four, is a game in Javascript using HTML5 features (canvas). I also incorporates an AI using Minimax (and alpha-beta pruning), but the evaluation function is manually inserted (hard-coded), and hence the AI may not be moving using the most optimal move.
- (more) stable build: http://kenrick95.github.io/c4/demo/
- Latest build: https://rawgithub.com/kenrick95/c4/master/index.html
Read https://en.wikipedia.org/wiki/Connect_Four
Tested in latest Firefox (27), Chrome (31), and IE (11). I suggest to turn on the browser console because many messages are printed there.
This work is licensed under MIT License.