Skip to content

chessweb01/c4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Connect Four game in Javascript using HTML5 features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.5%
  • HTML 3.2%
  • CSS 2.3%