Automating PBEM game

latrada latrada at netscapeonline.co.uk
Tue May 16 09:24:55 EDT 2000


This is all pretty straight forward in python.

You need to get some basic knowledge of your subject though, so peruse
www.python.org/doc

You should be looking at files, perhaps re or if it's really simple you
could just use the string module, and then the email libraries (perhaps
poplib and smtplib) in the standard librarie to work with mail. You even get
some nice examples.

richard


Martijn van der Kooij <DeleteThisDev at stabiplan.nl> wrote in message
news:8frckk$n7e$1 at porthos.nl.uu.net...
> Hi,
>
> I'm currently looking for the best way to automate a PBEM (Play By E-Mail)
> game.
>
> The following is needed:
> * Run a game on regular times (1 to 5 times a week) by starting a
executable
>   and send some on hard disk stored files to the players (email adres can
be
>   put into the name of the file or as first line in the file)
> * Get mail from a Pop3 account and look for a certain subject: 'orders'
when
>   found this message must be saved to disk and a executable has to be
> started
>   with this file as parameter; as a result a file has to be send to the
> sender of the
>   orders
>
> I've no experience with Python, but a lot with other languages on windows
> 32.
>
> Do anyone here have a suggestion and or examples how to implement
something
> like this?
>
> Martijn van der Kooij
> http:\\yi.org\mkgal
>
>
>
>





More information about the Python-list mailing list