solve logic problem in player choice