implemented while loops for player decisions