Implemented game move logic