implemented turn based movement control