From c01212801607b7f6336d6378ad64872a19bb4f15 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Mon, 20 Jul 2020 11:50:48 +0200
Subject: [PATCH] Add first draft of 'Victor Chess'

---
 client/src/variants/Vchess.js | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 client/src/variants/Vchess.js

diff --git a/client/src/variants/Vchess.js b/client/src/variants/Vchess.js
new file mode 100644
index 00000000..4e84eb0e
--- /dev/null
+++ b/client/src/variants/Vchess.js
@@ -0,0 +1,17 @@
+import { ChessRules } from "@/base_rules";
+
+export class VchessRules extends ChessRules {
+  static get PawnSpecs() {
+    return Object.assign(
+      {},
+      ChessRules.PawnSpecs,
+      { captureBackward: true }
+    );
+  }
+
+  getNotation(move) {
+    let notation = super.getNotation(move);
+    // TODO: if capture backwards, add an indication 'b'
+    return notation;
+  }
+};
-- 
2.44.0