implement entering moves by keyboard