Jump to content

What was your first program?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
30 replies to this topic

#1
ZekeDragon

ZekeDragon

    Writes binary right handed and hex left handed

  • Moderators
  • 2,103 posts
The question is the title, there's not much more too it.

I don't mean Hello World, I mean first non-directed program, with which I define, for the purposes of this question, as "A program that did not necessitate immediate direction or code examples to produce any majority of the source code."

Essentially, you probably remember back to your very first program, I bet. But what about the one that you didn't need to look at tutorials for the idea or the code for?

As an example, I'll tell you about MY first program. It was an ASCII chess (EDIT: Checkers X_X) game I made with QBasic, and it was complete crap. There were still a lot of things I couldn't figure out, but I was able to stumble my way into a board that looked something like this:
  *   *   *   *   -
*   *   *   *     -
  *   *   *   *   -
                  -
                  -
o   o   o   o     -
  o   o   o   o   -
o   o   o   o     -
| | | | | | | |
I don't remember exactly how I wrote it, or even how I issued commands (I knew it was through the keyboard and really unintuitive since it had no line numbering XD). I do remember making it though, and it was the very first "game" I ever made, as well as very first, shall I say "real", program I wrote.

So, what's yours?
Wow I changed my sig!

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Probably a program for turtle to make a bricks pattern, or something similar. We're talking over 20 years ago, so I don't really remember.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Guest_Jordan_*

Guest_Jordan_*
  • Guests
"The Adventures of Ug". It was a text based game I wrote when I was young (7, 8 or 9) using basic in DOS 3. I can remember the beginning:

Quote

You are in a cave. There is a fire. What would you like to do?
1) Put fire out
2) Stick hand in Fire
3) Exit Cave

Ug would do as you commanded him and the game was pretty long. I imagine the code was horrid. It didn't do anything to complex. I think there was some simple line animation in it depending on what options you selected.

The first program I ever sold was a piece of software to help dyslexic kids read better by flashing words on a screen. I say sold but I often gave it away.

#4
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
i have it printed on a paper for memories
ill post it when i scan it
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript

#5
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts

Jordan said:

"The Adventures of Ug". It was a text based game I wrote when I was young (7, 8 or 9) using basic in DOS 3. I can remember the beginning:



Ug would do as you commanded him and the game was pretty long. I imagine the code was horrid. It didn't do anything to complex. I think there was some simple line animation in it depending on what options you selected.

The first program I ever sold was a piece of software to help dyslexic kids read better by flashing words on a screen. I say sold but I often gave it away.

WHAT!! 7 or 8 thats impressive
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript

#6
marwex89

marwex89

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 10,720 posts
It was in Turbo Pascal, I was 8. I made lots of programs back then, just for fun, including a fancy "talking orange" -_- Don't ask.. I can't really remember what the first one was.
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

#7
Guest_Jordan_*

Guest_Jordan_*
  • Guests
@Amr: Not really. lol. It really was pretty pathetic with about 20 thousands gotos and a bunch of print "<text>"s with a few tidbits of line animations that probably took me 4 weeks to accomplish (while it was a simple 2 minute task for us).

#8
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
I wrote a pokemon database using a flat file in Perl when I was 9. It had entries for the 151 original Pokemon, listing name, type and whether I liked it or not.
Watches: Nanoha, Haruhi, AzuDai. Listens to: E-Type, Dj Melodie, Nightcore.
"When people are wrong they need to be corrected. And then when they can't accept it, an argument ensues." - MeTh0Dz

#9
zeroradius

zeroradius

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,406 posts
Mine was a very crappy text based "game" in c++ based on the tri-wizard tournament. I only ever completed the first day (level) of it.
Posted Image

#10
stykat

stykat

    Learning Programmer

  • Members
  • PipPipPip
  • 31 posts
Wow, guys you started programming really early, its very impressive:).
I made my first program this year with c++. It was a space text based game, where you got your ship your base, you kill aliens you get their fuel and then you search the galaxy for scrap, i wanted to make it graphical but i changed it to a calculator.

#11
Sinipull

Sinipull

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 386 posts
I think i was somewhere around 6 to 8 at that time too and i remember a simple text based "game" based on IF THEN ELSE in qbasic. I had my first computer when i was 4 or so. It was IBM's 5160 or "XT". 16mb hard drive. : D

IBM Personal Computer XT - Wikipedia, the free encyclopedia It looked exactly like on the picture. Still have it in my cellar, but it doesn't work.

#12
stykat

stykat

    Learning Programmer

  • Members
  • PipPipPip
  • 31 posts
Wow, you too ? :)
How come you started soo early in programming ?

Here, they didn't bought any computers at all, until the revolution from 89, and even then it was hard to get anything like that.
I think my first computer was a 1990 model but my dad had it upgraded very often.
At the last upgrade it had an AMD K5, 32 MB of RAM, 1 MB VIDEO CARD (CIrrus logic), 1 GB HDD space ( or 2 i think), and i was able to run even Windows 98 on it. I still have the motherboard (with the processor and RAM, the power supply and the videocard from it.
I used the computer until 2002 or 2003, then i changed it to something better.
Your computer looks nice Sinipull.