projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix parseInt() usage, rename Doubleorda --> Ordamirror, implement Clorange variant
[vchess.git]
/
client
/
src
/
variants
/
Knightrelay2.js
diff --git
a/client/src/variants/Knightrelay2.js
b/client/src/variants/Knightrelay2.js
index
0fc6c33
..
1827acc
100644
(file)
--- a/
client/src/variants/Knightrelay2.js
+++ b/
client/src/variants/Knightrelay2.js
@@
-101,7
+101,8
@@
export class Knightrelay2Rules extends ChessRules {
const finalSquare = V.CoordsToSquare(move.end);
const piece = this.getPiece(move.start.x, move.start.y);
const finalSquare = V.CoordsToSquare(move.end);
const piece = this.getPiece(move.start.x, move.start.y);
- // Since pieces and pawns could move like knight, indicate start and end squares
+ // Since pieces and pawns could move like knight,
+ // indicate start and end squares
let notation =
piece.toUpperCase() +
initSquare +
let notation =
piece.toUpperCase() +
initSquare +