I have written a very simple Perl and Javascript game. I haven't released it to the public as I have slowly been working on making it a more stand-alone program, but my friends and I play it often. Its sort of a clone of the Konquest! game you get with KDE. Each player has a planet and the object is to try to take over all the planets on the board. Each planet produces ships and has a strength used when attacking other planets. It can be quite a bit of fun.

There are bugs of course: namely at the moment its only known to work in Mozilla or Netscape. IE still doesn't follow DOM standards closely enough, though I have some ideas for working around it they haven't yet been implemented. The game might work in Opera or Konqueror but it hasn't been tested. Shell access is required on the webserver to create and games (though the script used to do this could probably be made web-based fairly easily. Thirdly only one game can be played at a time. Since its CGI based I didn't want to overload the server, porting it to mod_perl shouldn't be hard but it hasn't been done yet.

If you are interested I'll try to though it together in some kind of package and provide at least instructions on how to get it installed. Or if you like I'm sure you could come play sometime. /msg or just reply to me

Lobster Aliens Are attacking the world!

In reply to Re: Perl driven Browser Based Games? by cfreak
in thread Perl driven Browser Based Games? by Alatar

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.