
com.fathzer.games.HashProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of games-core Show documentation
Show all versions of games-core Show documentation
A core library to help implement two players games.
The newest version!
package com.fathzer.games;
/** A class able to compute a hash key (for instance a Zobrist key) for the current game state.
*
Typically, a chess {@link MoveGenerator} which supports Zobrist hashing will implement this interface.
*/
@FunctionalInterface
public interface HashProvider {
/** Gets the hash key of the current game state.
* @return a long
*/
long getHashKey();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy