player direction function, planning comments