예제 #1
0
 private Board MakeMankala(Hole[] holes, int stones)
 {
     holes[0] = new SpecialHole(stones, 1);
     holes[holes.Length / 2] = new SpecialHole(stones, 2);
     return(new Board(holes));
 }
예제 #2
0
 //Added two functions for the creation of the specialholes, allowing for
 private Board MakeWari(Hole[] holes)
 {
     holes[0] = new SpecialHole(0, 1);
     holes[holes.Length / 2] = new SpecialHole(0, 2);
     return(new Board(holes));
 }