[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pbmserv-dev] Re: Building e-mail based games
- To: Michael Hammond <MCTMike@AbacusTech.Info>, pbmserv-dev@gamerz.net
- Subject: [pbmserv-dev] Re: Building e-mail based games
- From: Richard Rognlie <rrognlie@gamerz.net>
- Date: Mon, 27 Jun 2005 12:47:42 -0400
- Domainkey-signature: a=rsa-sha1; s=dk20040503; d=gamerz.net; c=nofws; q=dns;b=qfPgK9Ix/ok0x3GMkxh4E3XyBrYNo7ICoRttjmwtSBf8YcSX6CSCGB+6Cn+HiHgS
- In-reply-to: <000101c57b2c$003778a0$c803a8c0@Instructor>
- References: <20050622133755.GD29173@gamerz.net> <000101c57b2c$003778a0$c803a8c0@Instructor>
- Reply-to: pbmserv-dev@gamerz.net
- Sender: owner-pbmserv-dev@gamerz.net
- User-agent: Mutt/1.5.6i
On Mon, Jun 27, 2005 at 10:22:14AM -0500, Michael Hammond wrote:
> Someone on the dev mailinglist suggested I check out the Gomoku
> implementation. Can you tell me which files I should get in order to check
> it out? Is there a list somewhere of all the files downloadable from the
> server? I want to avoid pestering you any more than necessary.
For a list, send pbmserv a fetch request
Subject: fetch
the lack of files tells it to return the list of files instead.
Subject: fetch makefile
will fetch the Makefile, which includes the list of all the build dependencies.
Subject: fetch gomoku.h gomoku.cpp
will get the two files most of interest to you.
> Mike
>
> -----Original Message-----
> From: Richard Rognlie [mailto:rrognlie@gamerz.net]
> Sent: Wednesday, June 22, 2005 8:38 AM
> To: Michael Hammond
> Subject: Re: Building e-mail based games
>
> On Wed, Jun 22, 2005 at 08:32:29AM -0500, Michael Hammond wrote:
> > Can you point me to an example of the simplest C++ game implementation on
> > your server? Maybe I can reverse engineer something if I have a template
> to
> > work with.
>
> Ataxx (as mentioned in
> http://www.gamerz.net/pbmserv/implementation.note.html)
>
> > Mike
> > ----- Original Message -----
> > From: "Richard Rognlie" <rrognlie@gamerz.net>
> > To: "Michael Hammond" <MCTMike@AbacusTech.Info>
> > Sent: Wednesday, June 22, 2005 8:13 AM
> > Subject: Re: Building e-mail based games
> >
> >
> > > On Wed, Jun 22, 2005 at 08:07:57AM -0500, Michael Hammond wrote:
> > > > Okay... the other apps exist as Perl scripts? Do they use some sort
> of
> > > > database on the back end?
> > >
> > > There are a couple that are perl back-ends. Notably werewolf and
> risque.
> > >
> > > Most of the rest of the pbmserv programs are C++ classes.
> > >
> > > There is a MySQL DB available, but I don't think anyone's using it.
> Most
> > > game engines just maintain a file for each game that is active, and it's
> > > up to the game engine what information and what format data is stored
> > there
> > >
> > > e.g. game 1234 of Xyzzy would be stored in
> > >
> > > $PBMHOME/games/Xyzzy/1234
> > >
> > > > Mike
> > > > ----- Original Message -----
> > > > From: "Richard Rognlie" <rrognlie@gamerz.net>
> > > > To: "Michael Hammond" <MCTMike@AbacusTech.Info>
> > > > Sent: Tuesday, June 21, 2005 5:20 PM
> > > > Subject: Re: Building e-mail based games
> > > >
> > > >
> > > > > On Tue, Jun 21, 2005 at 03:46:57PM -0500, Michael Hammond wrote:
> > > > > > How would, say, a DLL written in VB, fit into your system. Could
> > it?
> > > > >
> > > > > I don't know that it could, sorry.
> > > > >
> > > > > > Mike
> > > > > > ----- Original Message -----
> > > > > > From: "Richard Rognlie" <rrognlie@gamerz.net>
> > > > > > To: "Michael Hammond" <MCTMike@AbacusTech.Info>
> > > > > > Sent: Tuesday, June 21, 2005 3:26 PM
> > > > > > Subject: Re: Building e-mail based games
> > > > > >
> > > > > >
> > > > > > > Linux
> > > > > > >
> > > > > > > On Tue, Jun 21, 2005 at 03:22:39PM -0500, Michael Hammond wrote:
> > > > > > > > What kind of OS does the system run on?
> > > > > > > >
> > > > > > > > Mike
> > > > > > > > ----- Original Message -----
> > > > > > > > From: "Richard Rognlie" <rrognlie@gamerz.net>
> > > > > > > > To: "Michael Hammond" <MCTMike@AbacusTech.Info>
> > > > > > > > Sent: Tuesday, June 21, 2005 3:22 PM
> > > > > > > > Subject: Re: Building e-mail based games
> > > > > > > >
> > > > > > > >
> > > > > > > > > in theory, any language. By the time pbmserv.pl is ready
> to
> > > > > > > > > invoke a game engine, the message itself has been spooled to
> > > > > > > > > $INPUTFILE, and $SENDER is the email addr of the original
> > sender.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Tue, Jun 21, 2005 at 03:12:26PM -0500, Michael Hammond
> > wrote:
> > > > > > > > > > Nifty. I know only a little about Perl, and less about
> C++.
> > > > What
> > > > > > other
> > > > > > > > > > languages can PBMServ feed input to?
> > > > > > > > > >
> > > > > > > > > > Mike
> > > > > > > > > > ----- Original Message -----
> > > > > > > > > > From: "Richard Rognlie" <rrognlie@gamerz.net>
> > > > > > > > > > To: "Michael Hammond" <MCTMike@AbacusTech.Info>
> > > > > > > > > > Sent: Tuesday, June 21, 2005 2:38 PM
> > > > > > > > > > Subject: Re: Building e-mail based games
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > On Tue, Jun 21, 2005 at 02:12:53PM -0500, Michael
> Hammond
> > > > wrote:
> > > > > > > > > > > > So anybody can build the game-playing portion, and it
> > can be
> > > > > > snapped
> > > > > > > > > > into
> > > > > > > > > > > > PBMServ?
> > > > > > > > > > >
> > > > > > > > > > > That's the theory. I normally try to go over the code
> > before
> > > > > > > > > > > plugging it in, but if it's a game you would like to see
> > > > available
> > > > > > > > > > > I'm happy to help in any way I can.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > > Mike
> > > > > > > > > > > > ----- Original Message -----
> > > > > > > > > > > > From: "Richard Rognlie" <rrognlie@gamerz.net>
> > > > > > > > > > > > To: "Michael Hammond" <MCTMike@AbacusTech.Info>
> > > > > > > > > > > > Sent: Tuesday, June 21, 2005 1:32 PM
> > > > > > > > > > > > Subject: Re: Building e-mail based games
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > > On Tue, Jun 21, 2005 at 01:25:31PM -0500, Michael
> > Hammond
> > > > > > wrote:
> > > > > > > > > > > > > > Hi!
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I've been enjoying FM for a number of months
> now,
> > and
> > > > I'm
> > > > > > > > curious
> > > > > > > > > > if
> > > > > > > > > > > > you have any references to resources for how to build
> > e-mail
> > > > > > > > > > server-based
> > > > > > > > > > > > games. Thanks in advance.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I wrote pbmserv (not FM) so I can't talk about FM
> > > > directly,
> > > > > > but
> > > > > > > > the
> > > > > > > > > > > > > following might be useful
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > http://www.gamerz.net/pbmserv/implementation.notes.html
> > > > > > > > > > > > >
> > > > > > > > > > > > > Basically, I "pipe" the incoming mail to STDIN of a
> > perl
> > > > > > script.
> > > > > > > > > > > > >
> > > > > > > > > > > > > The script parses the headers, etc. and performs
> some
> > > > sanity
> > > > > > > > checks
> > > > > > > > > > > > > (e.g. is the Subject line a game type I recognise?
> > Does
> > > > this
> > > > > > mail
> > > > > > > > > > look
> > > > > > > > > > > > > like spam and not from a known user? etc. etc.)
> > > > > > > > > > > > >
> > > > > > > > > > > > > then it passes the Subject line to a sub process for
> > > > handling.
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > / \__ | Richard Rognlie / Sendmail Ninja /
> > Gamerz.NET
> > > > > > Lackey
> > > > > > > > > > > > > \__/ \ | http://www.gamerz.net/~rrognlie
> > <rrognlie at
> > > > > > > > gamerz.net>
> > > > > > > > > > > > > / \__/ |
> > > > > > > > > > > > > \__/ | Forgive and Forget... but keep a list of
> > names
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > / \__ | Richard Rognlie / Sendmail Ninja / Gamerz.NET
> > > > Lackey
> > > > > > > > > > > \__/ \ | http://www.gamerz.net/~rrognlie <rrognlie
> at
> > > > > > gamerz.net>
> > > > > > > > > > > / \__/ |
> > > > > > > > > > > \__/ | Forgive and Forget... but keep a list of
> names
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > / \__ | Richard Rognlie / Sendmail Ninja / Gamerz.NET
> > Lackey
> > > > > > > > > \__/ \ | http://www.gamerz.net/~rrognlie <rrognlie at
> > > > gamerz.net>
> > > > > > > > > / \__/ |
> > > > > > > > > \__/ | Forgive and Forget... but keep a list of names
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > / \__ | Richard Rognlie / Sendmail Ninja / Gamerz.NET Lackey
> > > > > > > \__/ \ | http://www.gamerz.net/~rrognlie <rrognlie at
> > gamerz.net>
> > > > > > > / \__/ |
> > > > > > > \__/ | Forgive and Forget... but keep a list of names
> > > > > >
> > > > >
> > > > > --
> > > > > / \__ | Richard Rognlie / Sendmail Ninja / Gamerz.NET Lackey
> > > > > \__/ \ | http://www.gamerz.net/~rrognlie <rrognlie at
> gamerz.net>
> > > > > / \__/ |
> > > > > \__/ | Forgive and Forget... but keep a list of names
> > > > >
> > > >
> > >
> > > --
> > > / \__ | Richard Rognlie / Sendmail Ninja / Gamerz.NET Lackey
> > > \__/ \ | http://www.gamerz.net/~rrognlie <rrognlie at gamerz.net>
> > > / \__/ |
> > > \__/ | Forgive and Forget... but keep a list of names
> >
>
> --
> / \__ | Richard Rognlie / Sendmail Ninja / Gamerz.NET Lackey
> \__/ \ | http://www.gamerz.net/~rrognlie <rrognlie at gamerz.net>
> / \__/ |
> \__/ | Forgive and Forget... but keep a list of names
>
--
/ \__ | Richard Rognlie / Sendmail Ninja / Gamerz.NET Lackey
\__/ \ | http://www.gamerz.net/~rrognlie <rrognlie at gamerz.net>
/ \__/ |
\__/ | Forgive and Forget... but keep a list of names