chess game source code in html
HTML Game Example - W3Schools
You can look into gnuchess source code. But of course this will be way too complicated for a homework. Essentially the way it works is to score the current chess position according to king safety, threats to major pieces, number of squares control... Get 22 chess plugins and scripts on CodeCanyon. Buy chess plugins, code & scripts from $8. All from our global community of web developers. Source Chess Code Software ChessDB - a Free Chess Database v.1.0 ChessDB is a free open- source chess database for Windows, Linux, Mac OSX and most UNIX and UNIX-like operating systems.
html - Chess + Using Tables - Stack Overflow