refactors board to accept an argument defining its spots