fix bug in print all moves for player