projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Almost finished problems logic. TODO: showProblem() part
[vchess.git]
/
public
/
javascripts
/
variants
/
Loser.js
diff --git
a/public/javascripts/variants/Loser.js
b/public/javascripts/variants/Loser.js
index
3def40a
..
98bd944
100644
(file)
--- a/
public/javascripts/variants/Loser.js
+++ b/
public/javascripts/variants/Loser.js
@@
-6,6
+6,11
@@
class LoserRules extends ChessRules
this.epSquares = [ epSq ];
}
+ static IsGoodFlags(flags)
+ {
+ return true; //anything is good: no flags
+ }
+
setFlags(fen)
{
// No castling, hence no flags; but flags defined for compatibility