Modify deal loop; Fix a potential player index error.