Unifinished chess game in Javascript and PHP.