some refactoring: the player can now move the piece left or right in the same tur