The setting in And Then There Were None is important because the situation doesn't work without all of the suspects being stranded on an island. There would have been too many variables for the detectives to make any head way. Stuck on an island, the reader is able to narrow down the field of suspects.