From: Benjamin Auder Date: Wed, 12 Dec 2018 10:40:57 +0000 (+0100) Subject: Drop Half chess: does not seem very interesting after all X-Git-Url: https://git.auder.net/js/css/%7B%7B%20path%28%27fos_user_security_login%27%29%20%7D%7D?a=commitdiff_plain;h=ab2bc577ec2d70c2833e482af3bb27f4f94c3f99;p=vchess.git Drop Half chess: does not seem very interesting after all --- diff --git a/public/javascripts/variants/Half.js b/public/javascripts/variants/Half.js deleted file mode 100644 index 6c6c7ebb..00000000 --- a/public/javascripts/variants/Half.js +++ /dev/null @@ -1,132 +0,0 @@ -// Standard rules on a 4x8 board with no pawns -class HalfRules extends ChessRules -{ - initVariables(fen) - { - this.kingPos = {'w':[-1,-1], 'b':[-1,-1]}; - const fenParts = fen.split(" "); - const position = fenParts[0].split("/"); - for (let i=0; i