The dynamic bord resize means you'll need to move the regular board initialization code into the setBoardSize method so that we can change size at runtime.