A7: Decision of direction of each move