Joel,
As a programming exercise, this is pretty neat. Not, as LizBo says, real practical, though. In English, lots of words exist to break the rules. Dice is one of them> Dice is the plural of die, but only when referring to the ones you roll. So two or more are dice, and one is a die. No dices.
Good, if superfluous, work!
HA HA HA
Sorry Joel but this is utter nonsense. This would just slow the overall board game down. No software can pre-determine what the dice rolls will be and anyone with a few brain cells can visually see if they out number a neighboring region to determine if a attack is worthwhile.
LOL