Allow variable board width and height.