What was the project that made you feel skilled in Python?
Terry Jan Reedy
tjreedy at udel.edu
Wed May 22 15:52:14 EDT 2013
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.
>
More information about the Python-list
mailing list