From: Benjamin Auder Date: Thu, 27 Feb 2020 23:41:50 +0000 (+0100) Subject: Implemented multi-move possibility in a moves list => better support for multi-moves... X-Git-Url: https://git.auder.net/assets/img/current/%24%7BgetWhatsApp%28link%29%7D?a=commitdiff_plain;h=e71161fbfffe53b0f4b174e0467cdd98cc70b7b0;p=vchess.git Implemented multi-move possibility in a moves list => better support for multi-moves variants --- diff --git a/client/public/images/pieces/Check3/bk_1.svg b/client/public/images/pieces/Check3/bk_1.svg new file mode 100644 index 00000000..04043f81 --- /dev/null +++ b/client/public/images/pieces/Check3/bk_1.svg @@ -0,0 +1,16 @@ + + + Layer 1 + + + + + + + + + + + + + diff --git a/client/public/images/pieces/Check3/bk_2.svg b/client/public/images/pieces/Check3/bk_2.svg new file mode 100644 index 00000000..cc5b2aa6 --- /dev/null +++ b/client/public/images/pieces/Check3/bk_2.svg @@ -0,0 +1,16 @@ + + + Layer 1 + + + + + + + + + + + + + diff --git a/client/public/images/pieces/Check3/bk_3.svg b/client/public/images/pieces/Check3/bk_3.svg new file mode 100644 index 00000000..21887b94 --- /dev/null +++ b/client/public/images/pieces/Check3/bk_3.svg @@ -0,0 +1,16 @@ + + + Layer 1 + + + + + + + + + + + + + diff --git a/client/public/images/pieces/Check3/wk_1.svg b/client/public/images/pieces/Check3/wk_1.svg new file mode 100644 index 00000000..5b66331a --- /dev/null +++ b/client/public/images/pieces/Check3/wk_1.svg @@ -0,0 +1,15 @@ + + + Layer 1 + + + + + + + + + + + + diff --git a/client/public/images/pieces/Check3/wk_2.svg b/client/public/images/pieces/Check3/wk_2.svg new file mode 100644 index 00000000..25c8d51b --- /dev/null +++ b/client/public/images/pieces/Check3/wk_2.svg @@ -0,0 +1,15 @@ + + + Layer 1 + + + + + + + + + + + + diff --git a/client/public/images/pieces/Check3/wk_3.svg b/client/public/images/pieces/Check3/wk_3.svg new file mode 100644 index 00000000..198c27cf --- /dev/null +++ b/client/public/images/pieces/Check3/wk_3.svg @@ -0,0 +1,15 @@ + + + Layer 1 + + + + + + + + + + + + diff --git a/client/src/base_rules.js b/client/src/base_rules.js index db9b981a..e6fd6d73 100644 --- a/client/src/base_rules.js +++ b/client/src/base_rules.js @@ -1126,7 +1126,7 @@ export const ChessRules = class ChessRules { let moves1 = this.getAllValidMoves("computer"); if (moves1.length == 0) - //TODO: this situation should not happen + // TODO: this situation should not happen return null; // Can I mate in 1 ? (for Magnetic & Extinction) diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 3573643d..488567b5 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -1,10 +1,5 @@