EA says it has agreed to buy British racing game developer Codemasters for $1.2B, outbidding Take-Two, which had agreed on a $971M acquisition last month (Ryan Browne/CNBC)