projects
/
xogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Start working on Convert (mismatch name, Chaining?)
[xogo.git]
/
base_rules.js
diff --git
a/base_rules.js
b/base_rules.js
index
20ffbee
..
aea3f57
100644
(file)
--- a/
base_rules.js
+++ b/
base_rules.js
@@
-1188,7
+1188,7
@@
export default class ChessRules {
}
pieces(color, x, y) {
- const pawnShift = this.getPawnShift(color);
+ const pawnShift = this.getPawnShift(color
|| 'w'
);
return {
'p': {
"class": "pawn",