Games giant Electronic Arts is set to acquire the British game-maker, beating an earlier rival offer.