Dice Roll Simulator
Moderator: Community Team
Forum rules
Please read the community guidelines before posting.
Please read the community guidelines before posting.
-
WidowMakers
- Posts: 2774
- Joined: Mon Nov 20, 2006 9:25 am
- Gender: Male
- Location: Detroit, MI
Dice Roll Simulator
I was playing a game yesterday and was wondering how many armies it would take to get a specific territory. I did not want to just try and fail. I needed to see what the chances were I would win. I looked on google for a program that would simulate d6 dice rolls (3 attacker against 2 defender) until one of them loses. I could not find any. So, I made one.
The link below is an excel file at allows you to simulate attacking and defending with any number of armies. I uses a few macros. Not overly complex. Just thought I would share this with anyone who wanted it. Feel free to give input on possible improvements to it.
http://jmhooton.iweb.bsu.edu/joel/diceroller.xls
The link below is an excel file at allows you to simulate attacking and defending with any number of armies. I uses a few macros. Not overly complex. Just thought I would share this with anyone who wanted it. Feel free to give input on possible improvements to it.
http://jmhooton.iweb.bsu.edu/joel/diceroller.xls
-
WidowMakers
- Posts: 2774
- Joined: Mon Nov 20, 2006 9:25 am
- Gender: Male
- Location: Detroit, MI
I just downloaded the 2003 trial. You need to install the analysis toolpack in the Tools> Add-ins section. That enables some of the functions that I used. Let me know if this works. Also I noticed that Microsoft had an update for excel 2003 related to the randbetween function i used.
http://www.microsoft.com/downloads/deta ... laylang=en
Excel 2003 Update: KB834691
Let me know if that works
http://www.microsoft.com/downloads/deta ... laylang=en
Excel 2003 Update: KB834691
Let me know if that works
i have problems
i have excel 2000. dont know if that works. i opened the thing and when i set the number of armies and pressed roll dice, i got #NAME in all the cells.
Any ideas why?
Any ideas why?
I am cricket, the cricket playing cricketer. The Master Blaster is the best in the world.
Highest Score - 1888
Highest Place - 292
Current Rank - Lieutenant
Current Score - 1630
Highest Score - 1888
Highest Place - 292
Current Rank - Lieutenant
Current Score - 1630
This : http://bartell.org/cgi-bin/risk.cgi provides a similar function.
Frigidus wrote:but now that it's become relatively popular it's suffered the usual downturn in coolness.
-
WidowMakers
- Posts: 2774
- Joined: Mon Nov 20, 2006 9:25 am
- Gender: Male
- Location: Detroit, MI
1 (Error) If it does not work you need to make sure the Analysis Toolpack is installed. Under Tools>Add-ins.
2 (Random #'s) I just used the randbetween function in Excel. I don't know how to get the rand info from the site that CC uses.
3 (Why) Again I was bored and had an hour to kill. I just wanted to see if I could make it. If anyone wants it then here you go.
2 (Random #'s) I just used the randbetween function in Excel. I don't know how to get the rand info from the site that CC uses.
3 (Why) Again I was bored and had an hour to kill. I just wanted to see if I could make it. If anyone wants it then here you go.
-
JTKALLTHEWAY
- Posts: 20
- Joined: Fri Nov 24, 2006 9:58 pm
- Location: San Antonio, TX
-
WidowMakers
- Posts: 2774
- Joined: Mon Nov 20, 2006 9:25 am
- Gender: Male
- Location: Detroit, MI
Dice Simulator using Random.org data
I added the Random.org data to the excel program. The file takes requests data from random.org for 3 attacking dice and 2 defending. Then it determines the number of dice each player can roll. It the sorts tem highest to lowest and determines the winner.
There are two versions because excel apparently changed the way they sort data between the two versions.
Excel 2000
http://jmhooton.iweb.bsu.edu/joel/dicer ... 202000.xls
Excel 2003
http://jmhooton.iweb.bsu.edu/joel/dicer ... 202003.xls
Make sure your Tool>Add-Ons>Analysis Pack is checked on
There are two versions because excel apparently changed the way they sort data between the two versions.
Excel 2000
http://jmhooton.iweb.bsu.edu/joel/dicer ... 202000.xls
Excel 2003
http://jmhooton.iweb.bsu.edu/joel/dicer ... 202003.xls
Make sure your Tool>Add-Ons>Analysis Pack is checked on
