projects
/
xogo.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Fixed Checkered variant
[xogo.git]
/
utils
/
PiPo.js
Commit
Line
Data
41534b92
BA
1
// class "PiPo": Piece + Position
2
export default class PiPo {
15106e82
3
41534b92
BA
4
// o: {piece[p], color[c], posX[x], posY[y]}
5
constructor(o) {
6
this.p = o.p;
7
this.c = o.c;
8
this.x = o.x;
9
this.y = o.y;
10
}
15106e82
11
41534b92
12
};