Normal
[CODE=java]int desiredDepth = 4; int evaluation(Board b) { return max(b,1,desiredDepth); }jshell> Board b = new Board()b ==>| _ | | _ | | _ | | _ | | _ | | _ | | _ | ... | _ | | _ | | _ |jshell> b.evaluation(b)| Exception java.lang.AssertionError: GAME OVER! Player 1 is won| at Board.move (#2:57)| at Board.min (#2:221)| at Board.max (#2:204)| at Board.min (#2:225)| at Board.max (#2:204)| at Board.evaluation (#2:191)| at (#5:1) [/CODE]
[CODE=java]int desiredDepth = 4;
int evaluation(Board b) {
return max(b,1,desiredDepth);
}
jshell> Board b = new Board()
b ==>
| _ | | _ | | _ | | _ | | _ | | _ | | _ | ... | _ | | _ | | _ |
jshell> b.evaluation(b)
| Exception java.lang.AssertionError: GAME OVER! Player 1 is won
| at Board.move (#2:57)
| at Board.min (#2:221)
| at Board.max (#2:204)
| at Board.min (#2:225)
| at Board.evaluation (#2:191)
| at (#5:1)
[/CODE]