From 81523dc93f925135ed58c097d1dbbc4887776455 Mon Sep 17 00:00:00 2001 From: DHTMLGoodies Date: Mon, 28 Dec 2015 17:28:21 +0100 Subject: [PATCH] Readme doc updates --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4187bf7..8978792 100644 --- a/README.md +++ b/README.md @@ -314,8 +314,8 @@ which outputs {"g8":["f7","h7","f8","h8"],"g7":["g6","g5"],"e6":[]} ``` -where key, example "g8" is from square and ["f7","h7","f8","h8"] are all the valid moves -for the king on "g8". +where key, example "g8" is the square of a piece and ["f7","h7","f8","h8"] are all the valid moves +for the piece on that square. -In this example, there's a king on e6. However, it cannot move because it is pinned by a white -bishop on a2. \ No newline at end of file +In this example, there's a knight on e6. However, it cannot move because it is pinned by a white +bishop on a2. Thus, the valid moves array for "e6" is empty. \ No newline at end of file