implementing sending lines to opponent