Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!

cracked.io | Best Forum Around | Free Premium Accounts




 529

Cracked.to Slot Machine

by Rezistenza - 14 September, 2020 - 08:12 PM
This post is by a banned member (Rezistenza) - Unhide
682
Posts
196
Threads
4 Years of service
#1
Code:
 
using System;


namespace tests
{
    class Program
    {
        static void Main(string[] args)
        {
            var rand = new Random();
            int price = 500;
            int num = rand.Next(9);
            int num2 = rand.Next(9);
            int num3 = rand.Next(9);
            int i = 0;

            Console.WriteLine(num+" "+num2+" "+num3);

            int som = num + num2 + num3;
            int asom = som / 3;

            if (asom==num)
            {
                if (asom ==num2)
                {
                    if (asom ==num3)
                    {
                        Console.WriteLine("You win ! :) ");
                        price = price + 50;
                        i++;
                    }

                }

            }
            else
            {
                Console.WriteLine("You Lose ! :( ");
                price = price - 50;
                i++;

            }


            Console.WriteLine("New try ? yes/no");
            string ans = Console.ReadLine();

            if (ans == "")
            {
                Console.Clear();
                Main(args);
            }
        }
    }
}
[Image: SIG.gif]
This post is by a banned member (Krxcked) - Unhide
This post is by a banned member (Rezistenza) - Unhide
682
Posts
196
Threads
4 Years of service
#3
(14 September, 2020 - 08:12 PM)Slayaha Wrote: Show More
Good on paper, bad in reality

[Image: oFte42S.png]  Hype kek
[Image: SIG.gif]
This post is by a banned member (NAGS) - Unhide
This post is by a banned member (Rezistenza) - Unhide
682
Posts
196
Threads
4 Years of service
#5
(14 September, 2020 - 08:16 PM)NAGS Wrote: Show More
(14 September, 2020 - 08:12 PM)Slayaha Wrote: Show More
Good on paper, bad in reality

True. The code is good. But gambling games are much more than just random numbers.

gambling based on random numbers  Jew
[Image: SIG.gif]
This post is by a banned member (recycle) - Unhide
recycle  
Infinity
150
Posts
7
Threads
3 Years of service
#6
this math can be adjusted to every single type of gambling provided by companys. THERE IS NO PROFIT LONGTERM
https://www.youtube.com/watch?v=F1HA7e3a...ingTheData
This post is by a banned member (Rezistenza) - Unhide
682
Posts
196
Threads
4 Years of service
#7
(14 September, 2020 - 08:36 PM)tosols Wrote: Show More
this math can be adjusted to every single type of gambling provided by companys. THERE IS NO PROFIT LONGTERM
https://www.youtube.com/watch?v=F1HA7e3a...ingTheData

this is very interesting  thinking
[Image: SIG.gif]
This post is by a banned member (babyhomie) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)