added logic to move player in engine.js