projects
/
xogo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0ea512c
)
update
main
author
Benjamin Auder
<benjamin.auder@somewhere>
Tue, 26 May 2026 22:38:28 +0000
(
00:38
+0200)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Tue, 26 May 2026 22:38:28 +0000
(
00:38
+0200)
variants/Emergo/class.js
patch
|
blob
|
blame
|
history
diff --git
a/variants/Emergo/class.js
b/variants/Emergo/class.js
index
be4d392
..
3c29f33
100644
(file)
--- a/
variants/Emergo/class.js
+++ b/
variants/Emergo/class.js
@@
-59,6
+59,8
@@
export default class EmergoRules extends ChessRules {
}
pieceDef(piece, color, x, y) {
}
pieceDef(piece, color, x, y) {
+ const color = this.getColor(piece);
+ piece.charAt(0)
//this.board[x][y]
// --> TODO
// Moving always the same, but look differs
//this.board[x][y]
// --> TODO
// Moving always the same, but look differs