So it should be about a billion $ in profit:
40,570,000 (games sold) x $30 (in profit for each game) - $268,000,000 (development and marketing) = $949,100,000
http://en.m.wikipedia.org/wiki/List_of_most_expensive_video_games_to_develop
It is less than half of what Mojang got for Minecraft! http://www.theguardian.com/technology/2014/sep/15/microsoft-buys-minecraft-creator-mojang-for-25bn