projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Synchrone2: almost OK (issues with undoing pass moves)
[vchess.git]
/
client
/
src
/
variants
/
Rifle.js
diff --git
a/client/src/variants/Rifle.js
b/client/src/variants/Rifle.js
index
94a6d05
..
7d71a98
100644
(file)
--- a/
client/src/variants/Rifle.js
+++ b/
client/src/variants/Rifle.js
@@
-1,6
+1,7
@@
import { ChessRules, PiPo, Move } from "@/base_rules";
export class RifleRules extends ChessRules {
+
getBasicMove([sx, sy], [ex, ey], tr) {
let mv = new Move({
appear: [],
@@
-71,4
+72,5
@@
export class RifleRules extends ChessRules {
static get SEARCH_DEPTH() {
return 2;
}
+
};