DoWhileGeek/Edge-of-The-Empire-Dice — pull request #2 by gatesphere (2014-05-14 16:28:40+00:00)
Title: Simplify the nested dictionaries + lists

random.choice() is one of my favorite methods in python -- it chooses an element of a list at random, without you having to specify much about the list (length, etc).

I'm not terribly sure the Dice class needs to exist at all, unless you're going to be doing something more with them later in the project's life. Otherwise, I'd kill the wrapper and just use the 'die' dictionary, like so:

````
def run(pool):
for c in pool:
print choice(die[c.lower()])
````