Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 703 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 703 Bytes

c4

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.

Demo

How to play

Read https://en.wikipedia.org/wiki/Connect_Four

Compatibility

Tested in latest Firefox (27), Chrome (31), and IE (11). I suggest to turn on the browser console because many messages are printed there.

License

This work is licensed under MIT License.