check that after player has moved, he wins if he gets to one of the
goals