I was chatting with jepri recently and checked out his home node. He lists the following as his first program:
10 BEEP 20 GOTO 10
Boy, did that bring back memories! It’s been a long time since I have thought about my early days of playing with computers and I can’t help but smile as I reminisce. The first program that I remember writing (besides the obligatory “hello world”) was a simple tank game that I started working on back in 1982. Basically, the computer randomly placed two tanks (two array locations) and randomly fired shots from each tank. It would display to the screen the tank’s alternating shots and the first tank to hit the other was the winner. Of course, it was completely random and not really a game. I was just playing around and having a blast.

My first really significant program was a graphics processor that I wrote in 1984 for the old TRS-80 (Trash 80) computer. Since only low-resolution graphics were available, I had to use several screens to get a decent picture. The program would write the separate screens to different files and use the data from all of those files to send the simple line drawings to a dot-matrix printer.

Around the same time I was taking a word processing class that required I learn ten-key by touch on the computer’s numeric keypad. I thought it was really boring so I hacked into the program and had it create randomly generated scores for me (around the same score level that I currently had, to avoid arousing suspicions).

Ahh... those were the days.

I would love to hear about some of the first programs that other monks have written that may have a "nostalgic" feeling for them.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just go the the link and check out our stats.


In reply to What was your first program? by Ovid

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.