Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
E.Azer Koçulu committed Apr 17, 2011
1 parent de51f50 commit 0a13890
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README
Expand Up @@ -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);
});
1 change: 1 addition & 0 deletions toledo-chess.js
Expand Up @@ -44,6 +44,7 @@
}

function W() {
if(W.disabled) return;
i = "<table>";
for (u = 18; u < 98; document.body.innerHTML = i += ++u % x - 9 ? "<th width=60 height=60 onclick='toledoChess.pI(" + u + ")&8?toledoChess.W():toledoChess.X(0,0,toledoChess.y(),1)'style='font-size:50px'bgcolor=#" + (u - B ? u * .9 & 1 || 9 : "d") + "0f0e0>&#" + (I[u] & 15 ? 9808 + l[67 + (I[u] & 15)] : 160) + ";" : u++ && "<tr>") B = b
}
Expand Down

0 comments on commit 0a13890

Please sign in to comment.