Add Sittuyin + Doublemove2. A few fixes. TODO: fix Ambiguous bugs and playing on...
[vchess.git] / client / src / variants / Shatranj.js
index 105331f..7d76b83 100644 (file)
@@ -20,6 +20,11 @@ export class ShatranjRules extends ChessRules {
     );
   }
 
+  getPpath(b) {
+    if (b[1] == 'b') return "Shatranj/" + b;
+    return b;
+  }
+
   static get ElephantSteps() {
     return [
       [-2, -2],