projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Balaklava variant
[vchess.git]
/
client
/
src
/
variants
/
Antimatter.js
diff --git
a/client/src/variants/Antimatter.js
b/client/src/variants/Antimatter.js
index
63d5ae5
..
f8f4c73
100644
(file)
--- a/
client/src/variants/Antimatter.js
+++ b/
client/src/variants/Antimatter.js
@@
-1,6
+1,6
@@
import { ChessRules } from "@/base_rules";
-export c
onst VariantRules = c
lass AntimatterRules extends ChessRules {
+export class AntimatterRules extends ChessRules {
getPotentialMovesFrom([x, y]) {
let moves = super.getPotentialMovesFrom([x, y]);