From 0a13890bb95ca0f870208fd8ed401f39d5feb36e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=2EAzer=20Ko=C3=A7ulu?= Date: Sun, 17 Apr 2011 23:25:08 +0300 Subject: [PATCH] readme update --- README | 8 ++++++++ toledo-chess.js | 1 + 2 files changed, 9 insertions(+) diff --git a/README b/README index 5c6b99f..a004015 100644 --- a/README +++ b/README @@ -2,3 +2,11 @@ Unobtrusive, indented fork of Toledo Javascript Chess (aka 1k Chess). Working example is at http://azer.github.com/toledo-chess Oscar Toledo's Homepage: http://nanochess.110mb.com + +04.17 Update +============ +makeMove method added. example usage; + + > toledoChess.makeMove('a2','a4',function(aiCounter){ + console.log(aiCounter.from, aiCounter.to); + }); diff --git a/toledo-chess.js b/toledo-chess.js index 103348f..67dba66 100644 --- a/toledo-chess.js +++ b/toledo-chess.js @@ -44,6 +44,7 @@ } function W() { + if(W.disabled) return; i = ""; for (u = 18; u < 98; document.body.innerHTML = i += ++u % x - 9 ? "") B = b }
&#" + (I[u] & 15 ? 9808 + l[67 + (I[u] & 15)] : 160) + ";" : u++ && "