Business logic to move sliding tiles on board.