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