Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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":



  • 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 goofing around in the Monastery: (5)
As of 2024-04-19 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found