Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45730

Re: What was the project that made you feel skilled in Python?

From Ben Finney <ben+python@benfinney.id.au>
Subject Re: What was the project that made you feel skilled in Python?
Date 2013-05-22 23:05 +1000
References <5198B7E9.7050505@nedbatchelder.com>
Newsgroups comp.lang.python
Message-ID <mailman.1965.1369227971.3114.python-list@python.org> (permalink)

Show all headers | View raw


Ned Batchelder <ned@nedbatchelder.com> writes:

> as you moved from exercises like those in Learn Python the Hard Way,
> up to your own self-guided work on small projects, what project were
> you working on that made you feel independent and skilled?  What
> program first felt like your own work rather than an exercise the
> teacher had assigned?

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>.

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.

-- 
 \     “Creativity can be a social contribution, but only in so far as |
  `\            society is free to use the results.” —Richard Stallman |
_o__)                                                                  |
Ben Finney

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: What was the project that made you feel skilled in Python? Ben Finney <ben+python@benfinney.id.au> - 2013-05-22 23:05 +1000

csiph-web