Page 1 of 1

small program to test some dice rolls

PostPosted: Thu Apr 17, 2008 2:36 pm
by Dako
hi everyone, I've always asked myself "what are my chances to beat 10 armies by 11" so few minutes ago i finished my CC dice simulating program.

i don't know if someone else ever created such thing - but here it is now.

very simple command line program, asks you to enter 3 numbers (how many attackers, how many defenders, how many times they repeat fighting). then it outputs how many times attacker won calculating everything just like in CC. this is total random so you can get like 10 loses vs 1 and so on (you can test it with like 4vs1 and 1kk of rounds). try not to enter very big values because it will calculate every dice and might just hang up.

there is no viruses, please beleive that :) if there are any - you can ban me from here forever :D

download it and have fun. i uploaded it on my own test hosting so it might be slow for you (located in russia)
http://www.swingfest.ru/files/CC_DiceSimulator.exe

post here any feedback or anything else.

Re: small program to test some dice rolls

PostPosted: Thu Apr 17, 2008 3:11 pm
by Kemmler
don't click, it's a rickroll




jk

Re: small program to test some dice rolls

PostPosted: Thu Apr 17, 2008 3:22 pm
by Dako
rickroll? lawl you are funny -.-

Re: small program to test some dice rolls

PostPosted: Thu Apr 17, 2008 3:25 pm
by Kemmler
I havent loaded it yet... i dont trust it

Re: small program to test some dice rolls

PostPosted: Thu Apr 17, 2008 3:29 pm
by BaldAdonis
There's an app at another site (Gambit) that gives you odds of winning any configuration of attacker against multiple defenders (and the odds of every ending position, provided you attack until you can't anymore). You might check that out.

Re: small program to test some dice rolls

PostPosted: Thu Apr 17, 2008 3:39 pm
by Dako
BaldAdonis wrote:There's an app at another site (Gambit) that gives you odds of winning any configuration of attacker against multiple defenders (and the odds of every ending position, provided you attack until you can't anymore). You might check that out.


thx, the program is cool, have lots of good stuff but the only thing - it doesnt allow to check some giant numbers (like over 1000 that you can get at real of magic).

mine is poor compared to that one :)

Re: small program to test some dice rolls

PostPosted: Thu Apr 17, 2008 4:50 pm
by MeDeFe
Yeah, sure, as if I were going to execute an unknown .exe file on the internet, no, I'm not accusing you of anything, but I'm not totally naive either.

Re: small program to test some dice rolls

PostPosted: Thu Apr 17, 2008 4:52 pm
by BaldAdonis
Dako wrote:thx, the program is cool, have lots of good stuff but the only thing - it doesnt allow to check some giant numbers (like over 1000 that you can get at real of magic).

Just gotta estimate when it gets around there, or just throw and don't worry about odds.
If you're running Firefox with Greasemonkey, you can get a script (in Plugins & Add-ons) that'll count your dice, and it's got a similar script (to yours) which runs a simulation.

People are really paranoid around here eh?

Re: small program to test some dice rolls

PostPosted: Thu Apr 17, 2008 5:06 pm
by KLOBBER
Dako wrote:...then it outputs how many times attacker won calculating everything just like in CC. this is total random so you can get like 10 loses vs 1 and so on (you can test it with like 4vs1 and 1kk of rounds)....


First of all, the dice on CC are not random; they are unpredictable, which is a different concept altogether. (Those with low intelligence cannot comprehend that these are two different concepts, and those individuals will probably post here in response with glaring evidence of their low intelligence. That is par for the course on this site; please disregard any feeble attempts at debate by such unfortunate individuals, as will I).

CC dice are based on sound vibrations in the atmosphere, and since all sound vibrations are by definition wholly and completely non-random, the dice also cannot be random.

In addition, your system cannot be random.

So-called "random" number generators in computers are based on the respective internal clocks of the computers in which they operate, and the operations performed by such clocks are also wholly and completely non-random.

In addition to being 100% non-random, such generators are also 100% predictable: if two such generators are initiated with all identical settings, they will both necessarily return two identical number strings. Initiate 100, 1,000, or 10,000 of them with identical settings, and they will each one return the same identical, predictable, non-random number string, right down the line.

Therefore, assuming that your system is based on such a generator, there is absolutely no possibility of it ever producing a "random" string of numbers.

Re: small program to test some dice rolls

PostPosted: Thu Apr 17, 2008 9:03 pm
by Itrade
I use RiskOdds to calculate my chances of success. It's been pretty accurate so far.

Its other advantages are that you don't have to download anything to use it and the page loads really really fast.

Re: small program to test some dice rolls

PostPosted: Thu Apr 17, 2008 10:01 pm
by Zlorfik
KLOBBER wrote:
Dako wrote:...then it outputs how many times attacker won calculating everything just like in CC. this is total random so you can get like 10 loses vs 1 and so on (you can test it with like 4vs1 and 1kk of rounds)....


First of all, the dice on CC are not random; they are unpredictable, which is a different concept altogether. (Those with low intelligence cannot comprehend that these are two different concepts, and those individuals will probably post here in response with glaring evidence of their low intelligence. That is par for the course on this site; please disregard any feeble attempts at debate by such unfortunate individuals, as will I).

CC dice are based on sound vibrations in the atmosphere, and since all sound vibrations are by definition wholly and completely non-random, the dice also cannot be random.

In addition, your system cannot be random.

So-called "random" number generators in computers are based on the respective internal clocks of the computers in which they operate, and the operations performed by such clocks are also wholly and completely non-random.

In addition to being 100% non-random, such generators are also 100% predictable: if two such generators are initiated with all identical settings, they will both necessarily return two identical number strings. Initiate 100, 1,000, or 10,000 of them with identical settings, and they will each one return the same identical, predictable, non-random number string, right down the line.

Therefore, assuming that your system is based on such a generator, there is absolutely no possibility of it ever producing a "random" string of numbers.


So yelling very loud does actually help to increase good dice rolls after all!

Re: small program to test some dice rolls

PostPosted: Fri Apr 18, 2008 3:20 pm
by Dako
KLOBBER wrote:
Dako wrote:...then it outputs how many times attacker won calculating everything just like in CC. this is total random so you can get like 10 loses vs 1 and so on (you can test it with like 4vs1 and 1kk of rounds)....


First of all, the dice on CC are not random; they are unpredictable, which is a different concept altogether. (Those with low intelligence cannot comprehend that these are two different concepts, and those individuals will probably post here in response with glaring evidence of their low intelligence. That is par for the course on this site; please disregard any feeble attempts at debate by such unfortunate individuals, as will I).

CC dice are based on sound vibrations in the atmosphere, and since all sound vibrations are by definition wholly and completely non-random, the dice also cannot be random.

In addition, your system cannot be random.

So-called "random" number generators in computers are based on the respective internal clocks of the computers in which they operate, and the operations performed by such clocks are also wholly and completely non-random.

In addition to being 100% non-random, such generators are also 100% predictable: if two such generators are initiated with all identical settings, they will both necessarily return two identical number strings. Initiate 100, 1,000, or 10,000 of them with identical settings, and they will each one return the same identical, predictable, non-random number string, right down the line.

Therefore, assuming that your system is based on such a generator, there is absolutely no possibility of it ever producing a "random" string of numbers.

bah, too many letters. you could just say the same thing in couple of words "nothing is random in this world". but you wanted to show everyone that you are smart and know how random generators work? ohh )

Re: small program to test some dice rolls

PostPosted: Fri Apr 18, 2008 3:22 pm
by Dako
MeDeFe wrote:Yeah, sure, as if I were going to execute an unknown .exe file on the internet, no, I'm not accusing you of anything, but I'm not totally naive either.

ohh sorry, i really wanted to hack your computer and get your vip passwords for p0rn :lol: