basic 2 player wordgame

bobicanprogram icanbob at
Tue Sep 21 16:02:23 CEST 2010

On Sep 21, 6:25 am, Baba <raoul... at> wrote:
> Hi
> I am working on a simple wordgame exercise: 2 players form a word by
> alternating turns saying a letter, which is added on to the end of the
> word fragment.
> I am familiar with loops, iterations etc but i need a hint as to how
> to approach alternating turns when writing this code?
> exercise source:
> thanks
> Baba

Have a look at the SIMPL toolkit (
lesson1/lesson1.html).  This would allow your two players to be split
into two separate Python modules.  It has the "advantage" that once
completed those two players could be deployed across a network,
likely without any code changes.


More information about the Python-list mailing list