Writing simple games, for example, hang man, tic-tack-toe, or the card games war or blackjack can be a fun way to learn about graphics, html generation, and data structures. The basic algorithms are simple, but there is a lot of opportunity to "pretty things up" and integrate both sound and graphics (or even the web) to make the game "cooler".

But like buying gifts for kids, a lot depends on the kid and what gets him or her excited. I would suggest first asking him or her what sort of things he or she would like to do with software. Use your own experience to assess the skill set needed and then work with them to scale the project down to something do-able but still "cool". Alternatively, work on the project together, with you carving out pieces that require a set of simple skills. Then as the teen gets more comfortable you could carve out large or more complex chunks. If you worked on it together it could turn into the electronic version of parent-child cooking or wood-working.

Best, beth


In reply to Re: Perl as an intro to programming by ELISHEVA
in thread Perl as an intro to programming by jrsimmon

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.