public void Move(Direction direction) { LastMove = new Move(State, direction); MoveHistory.Add(LastMove); State = LastMove.EndState; ULongMagic.SetRandomSquare(ref State, rnd); }
public Board() { ULongMagic.SetRandomSquare(ref StartState, rnd); ULongMagic.SetRandomSquare(ref StartState, rnd); State = StartState; }