Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Depends on the age of the kids. You'll most probably cannot compete with their game console, so forget the 3D graphics ;-) As already suggested playing and doing experiments - something they can participate should awake their interest. Maybe you can type a tiny program, show them how it works, and let them play with it? Then add some more functionality, maybe as a kind of game?

Some ideas, mainly for younger kids:

  • let the computer guess a number between 1 and "impressively high" - lower/higher, etc...
  • let the kids enter their initials, the computer prints a greeting with the full name...(how can it know that?)
  • do you remember the Apple ][ demo program Animals?
  • the CPAN Games directory...
  • simple encryption/decryption routine (1=A, 2=B, ... type)...
  • randomly generated sentences; let kids chose the words...
  • a simple calculator using eval...
  • Fibonacci? Faculty!
  • a mathematical game of the kind add 3 to the year you were born, subtract ... bla bla ... minus size of your shoes ... finally print their age...
  • Turtlegraphics...
  • remote controlling something... (if you have two PCs)..
  • ...
Don't know if that really is what you expected, but a pre-nerd in the right age will become a dedicated follower ;-)


In reply to Re: Quick Programs to make Big Impression by Perlbotics
in thread Quick Programs to make Big Impression by bennymack

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



  • 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.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2024-04-24 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found