EA has offered $1.2bn to buy Codemasters.
The Codemasters board has accepted the offer, which is now subject to a shareholder vote.
Grand Theft Auto and Borderlands publisher Take-Two was in talks to buy Codemasters, which is based in Southam, Warwickshire, after it had tabled a cash plus shares deal worth nearly $1bn.