Well, your option is to write it in Perl. Without more information it is hard to be more specific than that.

If it is a text-based game it may be perfectly practical to implement it in Perl without additional modules.

If the game involves graphics, it is likely to be quite hard to implement it without additional modules - the Comprehensive Perl Archive Network ("CPAN") is a huge resource of useful libraries in all sorts of domains. And since perl is not running in the browser, you don't have the DOM and its capabilities available. However there is nothing magical about what is available on CPAN - in principle (given enough time) you could reimplement any functionality you need, it's just that most people would consider it wasted effort to replicate what's already been made available by others.

Perhaps you could tell us more about what type of game it is, and what you hope to achieve by rewriting it in Perl, so we can provide a more useful response.


In reply to Re: game programming by hv
in thread game programming by Anonymous Monk

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.