On 5/22/2013 9:05 AM, Ben Finney wrote:
I wanted to simulate a particular board game, and had others in mind
with some common mechanics.
This resulted in a library for rolling dice in different combinations,
and looking up result tables <URL:https://pypi.python.org/pypi/alea>.
Have you cosidered adding a description so it can be found be a search?
A 3.3 version?
"Simulate game randomizers and lookup: dice rolls, card drawing,
spinners, ...
Eventually I wanted to extend it to know about custom decks of cards,
and the different ways those are handled in board games.
The unifying theme was a library of routines for simulating the random
elements (dice, cards, tables, spinners, etc.) in any board game.
A little over-engineered, I'll freely admit. But it did give me a sense
of being at home in Python and knowing that this is a good language for
getting things done the right way.
--
http://mail.python.org/mailman/listinfo/python-list