[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pbmserv-dev] gamerz.php
On Mon, 25 Jul 2005, Paul van Wamelen wrote:
> On Sun, 24 Jul 2005, John Williams wrote:
> > I think I would like to help port some of the wamelen games to work on
> > gamerz.net.
> >
> > Could someone give me a few pointers as to what needs to be done to get
> > them working?
>
> Currently you will need an account on Richard's machine. Looks like you
> do, so you are all set there. Now look at the .php files in the
> /home/PBM/pbmserv/public_html/
> directory (and game specific subdirectories). You will need to know some
> php. Fortunately it is a very easy language to learn with very good
> online documentation:
> www.php.net
> Now look at the code at
> http://www.math.lsu.edu/~wamelen/gamerz/files.php
Actually, I was looking the stuff in
/home/wamelen/public_html/gamerz/gamerz, which I saw mentioned in a
Makefile somewhere.
> and start making the translation...
I noticed the parameter lists to some functions have changed. DoGame no
longer has the $Match parameter, for example.
So I was wondering what prompted that change, and what areas of the code I
should be concerned about changing (as opposed to the areas which probably
still work).
> To set up a "test server" just copy the php files to your own public_html
> directory and start debugging!
Since I'm still shooting at a black box, I decided to start a game from
scratch. Following some of the examples, I now have a XiangQi board
displaying using the CSS stuff. Still need to work on the clicking part.
> When you get something working let me know and we can figure out a sane
> way to integrate the make process...
The one Makefile I looked at was just copying files from /home/wamelen.
Do you do anything more complicated than that?
~ John Williams