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