move forward by pressing up arrow move backward by pressing down arrow change direction by using left and right arrow