Playfish , which makes games such as Pet Society for Facebook , was snapped up by Electronic Arts for $ 275 million ( £ 165 million ) in cash , a $ 25 million retention bonus and $ 100 million of possible earn-out payments if profit targets are met .