From: Benjamin Auder Date: Mon, 19 Nov 2018 17:53:37 +0000 (+0100) Subject: Add a few questions... X-Git-Url: https://git.auder.net/game/%7B%7B%20path%28%27mixstore_store_package_view%27%2C%20%7B%20id:%20newsItem.id%20%7D%29%20%7D%7D?a=commitdiff_plain;h=818ede16c09c2f5650d7a6b7b5ea42d6dd1a0c30;p=vchess.git Add a few questions... --- diff --git a/public/javascripts/base_rules.js b/public/javascripts/base_rules.js index 99574b45..16304953 100644 --- a/public/javascripts/base_rules.js +++ b/public/javascripts/base_rules.js @@ -268,8 +268,7 @@ class ChessRules { var i = x + step[0]; var j = y + step[1]; - while (i>=0 && i=0 && j=0 && i=0 && j