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/variants/Chakart/css/current/scripts/img/%7B%7B?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