Make base score dependent on board size.

A hard coded value of 10 will not work on larger boards where the depth
could go above that number, say a 4x4 board. Make the base score a
function of the board size.