<html> <head> <script type=”text/javascript” src=”http://code.jquery.com/jquery-1.6.4.min.js”></script> <script type=”text/javascript”> $(document).ready(function () { // draws a chessboard function drawChessboard() { // define the constants var baseX = 0.5, baseY = 0.5, width = 50; // get the 2D context from the “chessboard” canvas var context = document.getElementById(“chessboardCanvas”).getContext(“2d”); // draws the 8 by 8 chessboard for (var i =Continue reading “HTML5 chessboard”