projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Alice almost fixed
[vchess.git]
/
public
/
javascripts
/
base_rules.js
diff --git
a/public/javascripts/base_rules.js
b/public/javascripts/base_rules.js
index
cb426f3
..
346eff0
100644
(file)
--- a/
public/javascripts/base_rules.js
+++ b/
public/javascripts/base_rules.js
@@
-699,8
+699,6
@@
class ChessRules
play(move, ingame)
{
play(move, ingame)
{
- console.log("play " + this.getNotation(move));
- console.log(JSON.stringify(move));
if (!!ingame)
move.notation = this.getNotation(move);
if (!!ingame)
move.notation = this.getNotation(move);
@@
-718,7
+716,6
@@
class ChessRules
this.moves.pop();
this.unupdateVariables(move);
this.parseFlags(JSON.parse(move.flags));
this.moves.pop();
this.unupdateVariables(move);
this.parseFlags(JSON.parse(move.flags));
- console.log("undo " + this.getNotation(move));
}
//////////////
}
//////////////