/// <summary> /// Help converting a chess board instance to a hash string. /// </summary> /// <param name="board">the chess board to be converted</param> /// <returns>a hash string containing the data from the chess board</returns> public static string ToHash(this IChessBoard board) { // convert chess board into a hex stzing string hex = board.ToBitboard().BinaryData.BytesToHexString(); return(hex); }