projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Computer mode in rules section almost OK
[vchess.git]
/
public
/
javascripts
/
variants
/
Extinction.js
diff --git
a/public/javascripts/variants/Extinction.js
b/public/javascripts/variants/Extinction.js
index
bc06162
..
2f57260
100644
(file)
--- a/
public/javascripts/variants/Extinction.js
+++ b/
public/javascripts/variants/Extinction.js
@@
-64,12
+64,12
@@
class ExtinctionRules extends ChessRules
return true; //always at least one possible move
}
- underCheck(
move
)
+ underCheck(
color
)
{
return false; //there is no check
}
- getCheckSquares(
move
)
+ getCheckSquares(
color
)
{
return [];
}