Example #1
0
File: Solver.cs Project: MOAAS/IART
 /* Heuristic 4
  *  Similar to heuristic 3, but takes into account the average in all 4 directions on each tile
  */
 public static int Heuristic4(ZhedBoard board)
 {
     if (board.isOver)
     {
         return(0);
     }
     return((int)(1000 / board.getBoardTotalValue()));
 }