com.netsensia.rivalchess.consts.HashIndex.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rivalchess-engine Show documentation
Show all versions of rivalchess-engine Show documentation
The engine used by Rival Chess
package com.netsensia.rivalchess.consts
const val HASHENTRY_MOVE = 0
const val HASHENTRY_SCORE = 1
const val HASHENTRY_HEIGHT = 2
const val HASHENTRY_FLAG = 3
const val HASHENTRY_VERSION = 4
const val HASHENTRY_64BIT1 = 5
const val HASHENTRY_64BIT2 = 6
const val NUM_HASH_FIELDS = 7
const val HASH_POSITION_SIZE_BYTES = 8 + NUM_HASH_FIELDS * 4