public static ulong SetField(ulong boardState, int x, int y, DraughtsField fieldState) { x = (x + (y % 2)) / 2; int n = y * 8 + x * 2; boardState = boardState & ~((ulong)3 << n); return(boardState | ((ulong)fieldState << n)); }
private Draughts8Player(DraughtsField color) { Color = color; }