projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some fixes. Screen variant computer play is still broken, seemingly
[vchess.git]
/
client
/
src
/
variants
/
Knightrelay2.js
diff --git
a/client/src/variants/Knightrelay2.js
b/client/src/variants/Knightrelay2.js
index
1827acc
..
a8a796e
100644
(file)
--- a/
client/src/variants/Knightrelay2.js
+++ b/
client/src/variants/Knightrelay2.js
@@
-1,6
+1,7
@@
import { ChessRules } from "@/base_rules";
export class Knightrelay2Rules extends ChessRules {
+
getPotentialMovesFrom([x, y]) {
let moves = super.getPotentialMovesFrom([x, y]);
@@
-120,4
+121,5
@@
export class Knightrelay2Rules extends ChessRules {
return notation;
}
+
};