Retrieves the value of the custom state variable i.
i
int getCustomState(int i) => state.board[size.secretSquare(i)] >> Bishop.flagsStartBit;