Summing up our conclusions, it's much better to play in a week with a big jackpot than a small one (duh!) but even in a week with a near record jackpot (second largest in history) the lottery is only almost but not quite a break even proposition.
"risk" is actually probability x payoff (for one event like a bet on throwing a dice) If it's bigger than 1, congratulations.
In this case you would have something like Integral(payoff x probability,dprobability,0,1) (sorry about this syntax)
For a real probability distribution, this means you have a 40% chance of breaking-off or do better
The second issue is that your risk is (very) limited. It's cost of equipment + dev licence + cost of your time + 3rd parties
It's not like the risk of cutting the wrong wire in a bomb about to go off.
Most of the risk, I assure from experience, is not getting to the store in the first place. That is, not finishing the product, or coming up with something bad