reworked definition of playNextMove
computer player plays a move