player movement logic

има бъгове!!!