
com.fathzer.chess.utils.evaluators.simplified.SimplifiedState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chess-utils Show documentation
Show all versions of chess-utils Show documentation
Some helpful piece of code to implement chess engines.
The newest version!
package com.fathzer.chess.utils.evaluators.simplified;
/** The state of a simplified evaluator.
*/
public class SimplifiedState extends FastPhaseDetector {
int points;
int whiteKingIndex;
int blackKingIndex;
SimplifiedState() {
super();
}
void copyTo(SimplifiedState other) {
super.copyTo(other);
other.points = points;
other.blackKingIndex = blackKingIndex;
other.whiteKingIndex = whiteKingIndex;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy