projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Wormhole1 + ranem Wormhole --> Wormhole2. Rename Selfabsorption (too long) into...
[vchess.git]
/
client
/
src
/
variants
/
Selfabsorb.js
diff --git
a/client/src/variants/Selfabsorption.js
b/client/src/variants/Selfabsorb.js
similarity index 97%
rename from
client/src/variants/Selfabsorption.js
rename to
client/src/variants/Selfabsorb.js
index
6f15d48
..
0a8a747
100644
(file)
--- a/
client/src/variants/Selfabsorption.js
+++ b/
client/src/variants/Selfabsorb.js
@@
-1,7
+1,7
@@
import { ChessRules } from "@/base_rules";
import { AbsorptionRules } from "@/variants/Absorption";
import { ChessRules } from "@/base_rules";
import { AbsorptionRules } from "@/variants/Absorption";
-export class Selfabsor
ption
Rules extends AbsorptionRules {
+export class Selfabsor
b
Rules extends AbsorptionRules {
canTake([x1, y1], [x2, y2]) {
if (this.getColor(x1, y1) !== this.getColor(x2, y2)) return true;
canTake([x1, y1], [x2, y2]) {
if (this.getColor(x1, y1) !== this.getColor(x2, y2)) return true;