dragonchild,
I've written an almost exact reproduction of Minesweeper (look-n-feel wise) in Perl using the Tk GUI toolkit. The code is simple and well-documented, and the program works perfectly on Win32. You can download it from here. It will show you how to use Tk's Canvas to achieve what you want.
Package / install - wise, it's even simpler. The excellent PAR module has a "pp" program in it that creates executables (complete, self contained Win32 .exes) from your scripts, including all the dependencies (like Tk). A GUI application with Tk will weigh around 2.5MB, will take a few seconds to load the first time it's run (it unpackages stuff to the Temp directory) and then run almost instantly.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|