mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-11 16:42:41 +01:00
CuckooChess: Back-ported Texel improvements to CuckooChess. +24 ELO against previous version after 1894 games at 60/6 time control.
This commit is contained in:
@@ -64,13 +64,27 @@ public class Move {
|
||||
this.score = m.score;
|
||||
}
|
||||
|
||||
public void copyFrom(Move m) {
|
||||
public final void copyFrom(Move m) {
|
||||
from = m.from;
|
||||
to = m.to;
|
||||
promoteTo = m.promoteTo;
|
||||
// score = m.score;
|
||||
}
|
||||
|
||||
public final void clear() {
|
||||
from = 0;
|
||||
to = 0;
|
||||
promoteTo = 0;
|
||||
score = 0;
|
||||
}
|
||||
|
||||
public final void setMove(int from, int to, int promoteTo, int score) {
|
||||
this.from = from;
|
||||
this.to = to;
|
||||
this.promoteTo = promoteTo;
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
/** Note that score is not included in the comparison. */
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
|
||||
Reference in New Issue
Block a user