public static void Main()
double[] bets = { 0.5, 0.5, 0.5, 1, 1.5, 2.5, 3.5, 5.5, 8, 12, 18, 27};
Random rnd = new Random();
for (int i = 0; i < 10000; i++)
Console.WriteLine("you reached your goal on round "+ i + ". ");
Console.WriteLine("you lost on round "+ i + ". You reached your max bet");
if (money - bets[bet] <= 0){
Console.WriteLine("you lost on round "+ i + ". You went out of money");
money = money - bets[bet];
if (result >0 && result <13){
Console.WriteLine("round " + i + ", you win! number:" + result +" your bet is " + bets[bet]+ " and your money is:" + money);
} else if (bet < bets.Length) {
Console.WriteLine("round " + i + ", you lose! number:" + result +" your bet is " + bets[bet]+ " and your money is:" + money);
Console.WriteLine("you exceeded the bet on round"+ i);
Console.WriteLine("End of game, your money is: "+ money);