changed boardSize to 8