implemented player drawing and movement