public static void Main()
Random random = new Random();
int redOdds = random.Next(4);
Random rnd = new Random();
int whiteOdds = random.Next(40);
Random rand = new Random();
int yellowOdds = random.Next(20);
Random rando = new Random();
int blueOdds = random.Next(10);
Console.WriteLine("Hello this is the horse race's game please lace your bet! you have " + playerMoney + " coins left.");
Console.WriteLine("odds: red = 1/4 (1 coin). blue = 1/10 (3 coins). yellow = 1/20 (5 coins). white = 1/40 (9 coins) <enter red for red blue for blue and so on (no caps)>");
string PlayerBet = Console.ReadLine();
Console.WriteLine("red speed: "+redOdds);
Console.WriteLine("blue speed: "+blueOdds);
Console.WriteLine("yellow speed: "+yellowOdds);
Console.WriteLine("white speed: "+whiteOdds);
if(PlayerBet != "red" && PlayerBet != "blue" && PlayerBet != "yellow" && PlayerBet != "white")
if(whiteOdds > blueOdds || whiteOdds > redOdds || whiteOdds > blueOdds)
Console.WriteLine("you lost the bet and 9 coins");
if(whiteOdds < blueOdds && whiteOdds < redOdds && whiteOdds < blueOdds)
Console.WriteLine("you won the bet and 9 coins!");
if(whiteOdds == blueOdds || whiteOdds == yellowOdds || whiteOdds == redOdds)
Console.WriteLine("it was a tie");
if(blueOdds > yellowOdds || blueOdds > redOdds || blueOdds > whiteOdds)
Console.WriteLine("you lost the bet and 3 coins");
if(blueOdds < yellowOdds && blueOdds < redOdds && blueOdds < whiteOdds)
Console.WriteLine("you won the bet and 3 coins!");
if(blueOdds == whiteOdds || blueOdds == yellowOdds || blueOdds == redOdds)
Console.WriteLine("it was a tie");
if(PlayerBet == "yellow")
if(yellowOdds > blueOdds || yellowOdds > redOdds || yellowOdds > blueOdds || yellowOdds > whiteOdds)
Console.WriteLine("you lost the bet and 5 coins");
if(yellowOdds < blueOdds && yellowOdds < redOdds && yellowOdds < blueOdds && yellowOdds < whiteOdds)
Console.WriteLine("you won the bet and 5 coins!");
if(yellowOdds == blueOdds || yellowOdds == whiteOdds || yellowOdds == redOdds)
Console.WriteLine("it was a tie");
if(redOdds > blueOdds || redOdds > yellowOdds || redOdds > blueOdds || redOdds > whiteOdds)
Console.WriteLine("you lost the bet and 1 coin");
if(redOdds < blueOdds && redOdds < yellowOdds && redOdds < blueOdds && redOdds < whiteOdds)
Console.WriteLine("you won the bet and 1 coins");
if(redOdds == blueOdds || redOdds == yellowOdds || redOdds == whiteOdds)
Console.WriteLine("it was a tie");