Conquer Club

small program to test some dice rolls

Talk about all things related to Conquer Club

Moderator: Community Team

Forum rules
Please read the community guidelines before posting.

small program to test some dice rolls

Postby Dako on Thu Apr 17, 2008 2:36 pm

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.
User avatar
Colonel Dako
 
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia

Re: small program to test some dice rolls

Postby Kemmler on Thu Apr 17, 2008 3:11 pm

don't click, it's a rickroll




jk
User avatar
Cook Kemmler
 
Posts: 929
Joined: Fri Dec 07, 2007 1:03 pm
Location: GOODBYE CC

Re: small program to test some dice rolls

Postby Dako on Thu Apr 17, 2008 3:22 pm

rickroll? lawl you are funny -.-
Last edited by Dako on Thu Apr 17, 2008 3:32 pm, edited 1 time in total.
User avatar
Colonel Dako
 
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia

Re: small program to test some dice rolls

Postby Kemmler on Thu Apr 17, 2008 3:25 pm

I havent loaded it yet... i dont trust it
User avatar
Cook Kemmler
 
Posts: 929
Joined: Fri Dec 07, 2007 1:03 pm
Location: GOODBYE CC

Re: small program to test some dice rolls

Postby BaldAdonis on Thu Apr 17, 2008 3:29 pm

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.
User avatar
Captain BaldAdonis
 
Posts: 2334
Joined: Fri Aug 24, 2007 1:57 am
Location: Trapped in Pleasantville with Toby McGuire

Re: small program to test some dice rolls

Postby Dako on Thu Apr 17, 2008 3:39 pm

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 :)
User avatar
Colonel Dako
 
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia

Re: small program to test some dice rolls

Postby MeDeFe on Thu Apr 17, 2008 4:50 pm

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.
saxitoxin wrote:Your position is more complex than the federal tax code. As soon as I think I understand it, I find another index of cross-references, exceptions and amendments I have to apply.
Timminz wrote:Yo mama is so classless, she could be a Marxist utopia.
User avatar
Major MeDeFe
 
Posts: 7831
Joined: Thu Apr 06, 2006 2:48 am
Location: Follow the trail of holes in other people's arguments.

Re: small program to test some dice rolls

Postby BaldAdonis on Thu Apr 17, 2008 4:52 pm

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?
User avatar
Captain BaldAdonis
 
Posts: 2334
Joined: Fri Aug 24, 2007 1:57 am
Location: Trapped in Pleasantville with Toby McGuire

Re: small program to test some dice rolls

Postby KLOBBER on Thu Apr 17, 2008 5:06 pm

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.
KLOBBER's Highest Score: 3642 (General)

KLOBBER's Highest place on scoreboard: #15 (fifteen) out of 20,000+ players.

For info about winning, click here.
User avatar
Private 1st Class KLOBBER
 
Posts: 933
Joined: Sat Apr 14, 2007 4:57 pm
Location: ----- I have upped my rank -- NOW UP YOURS! -----

Re: small program to test some dice rolls

Postby Itrade on Thu Apr 17, 2008 9:03 pm

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.
Image My set is a bone coat-of-arms and chandelier! How cool is that?
User avatar
Sergeant Itrade
 
Posts: 438
Joined: Fri Jan 06, 2006 2:14 am
Location: Malaysia

Re: small program to test some dice rolls

Postby Zlorfik on Thu Apr 17, 2008 10:01 pm

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!
User avatar
Cadet Zlorfik
 
Posts: 63
Joined: Sat Dec 01, 2007 7:04 pm
Location: Depends, how far away is "not far enough"?

Re: small program to test some dice rolls

Postby Dako on Fri Apr 18, 2008 3:20 pm

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 )
User avatar
Colonel Dako
 
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia

Re: small program to test some dice rolls

Postby Dako on Fri Apr 18, 2008 3:22 pm

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:
User avatar
Colonel Dako
 
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia


Return to Conquer Club Discussion

Who is online

Users browsing this forum: No registered users