
-----------------------------------
Mazer
Mon Jan 19, 2004 8:26 pm

Your first cool program...
-----------------------------------
Can you remember what the first program you made was? Tell us about it! But don't post if the first program you wrote happens to be the last program you wrote, this is strictly for nostalgic purposes.  :P 
For me, I'd have to go with a little something called "missile.t"
Unfortunately I don't have it anymore, and it was just a recangle labeled "missile" that flew into a blue rectangle and exploded, but seeing as it was the first thing I ever made before my compsci "teacher" even started showing us how to use put I think it was pretty cool.
A year later, it was followed up by "heatseeker.t" which was just as cool, if not cooler (it was a rocket that flew in circles around a smoking smiley getting closer and closer until finally it hit the face and blew up)

So what was (were) your first cool program(s)?

-----------------------------------
PaddyLong
Mon Jan 19, 2004 8:49 pm


-----------------------------------
hmm my very first program was a slot machine I wrote in turing when I was in I think grade 8

the next thing that I was really proud of was a tank wars game I wrote in grade 10

-----------------------------------
ArchAngel16
Mon Jan 19, 2004 9:07 pm


-----------------------------------
it wasnt called Tankz was it??? Cause if it was hail to the chief and you would be the CHief. My first program was a Trivia game which had scenes of a battle between Imperial and Rebel forces. One side or the other winning the skirmish depending on your answer.

-----------------------------------
AsianSensation
Mon Jan 19, 2004 9:33 pm


-----------------------------------
Rush Hour Chinese Edition

http://www.compsci.ca/v2/viewtopic.php?p=14572

This was suppose to be our animation project, but I did this. Can't blame a guy if he desperately wanted a game that can move along with the Kung Fu Fighting song.

-----------------------------------
Recoil
Mon Jan 19, 2004 9:44 pm


-----------------------------------
still have it somewhere around here...


*5 minutes later*

:o i don't! aw crap! i was so proud of it!



anyways.. it was all text based (this was like in the first week we started learning turing, so... we had just started learning variables)...  when it started up, it would say spacetron in green, and a period would go back and forth as if it were loading something (by using a counted loop and locate (count+x,y) and put " . ")


then it would go to the main screen... it would randomize a value of x and y, and you would take a guess as to where the "cloaked ship" was. it would draw a target on that location (locate (xvalued-1,y) put ({+}) " and then fire a missle from a ship  on the left side of the screen (again, for loops and put " => ")... if you missed, it gave you a "getting warmer/colder" type response, and visual feedback (iirc,  {X}  for hit,  {O}  for miss, and something else for a near-hit)

you got a few tries till the cloaked ship uncloaked and fired on you.... ended up very fun and the whole thing was very nethack-esque, ( http://nethack.org ) and i really loved how polished it looked... so 1980's arcadey..

-----------------------------------
shorthair
Mon Jan 19, 2004 9:48 pm


-----------------------------------
my first program was definatly a program that said , ARE YOU GAY  and had 2 buttons and when you went to NO it chnged t oyes , it was one of the coolest things  i ever made and the only way to beat it was to click in hte box thats always 5 rows away from th emouse so you can never get to it. i tried for many hours and i even made an if statement just incase someone everdid get it.

-----------------------------------
Maverick
Mon Jan 19, 2004 11:27 pm


-----------------------------------
Mine was a happy face smoking a dubee. With the smoke animated and his eys blinking.

-----------------------------------
Skizzarz
Tue Jan 20, 2004 9:03 pm


-----------------------------------
shorthair i made the EXACT same program as you as my first program it said are you stupid? yes, no, when you clicked on no it would change to yes and say "I thought so!", did u make it in VB like me?

-----------------------------------
Skizzarz
Tue Jan 20, 2004 9:04 pm


-----------------------------------
if someone tells me how to attach files then i'll attach it cuz i have it.

-----------------------------------
Andy
Tue Jan 20, 2004 9:05 pm


-----------------------------------
when u post, under the lil text field, u see options and a large button that says add an attatchment beside it

-----------------------------------
shorthair
Tue Jan 20, 2004 9:08 pm


-----------------------------------
It was really funny , i let my teacher test it ( its all good cause im on hte programming team so he dosent ever yell at us for stupid things )

-----------------------------------
Catalyst
Tue Jan 20, 2004 9:17 pm


-----------------------------------
a small ball controlled by the keyboard (didnt know of getch so u had to hit enter after each movement :lol: )

-----------------------------------
Skizzarz
Tue Jan 20, 2004 9:37 pm


-----------------------------------
here is the program, shorthair is it just like urs?

-----------------------------------
Skizzarz
Tue Jan 20, 2004 9:38 pm


-----------------------------------
oops sorry here

-----------------------------------
Skizzarz
Tue Jan 20, 2004 9:39 pm


-----------------------------------
wtf, i said ADD ATTACHMENT, hmmmm, sounds like the work of the compsci spector!

-----------------------------------
rizzix
Tue Jan 20, 2004 9:40 pm


-----------------------------------
i dun think u can attach in the GD

-----------------------------------
Skizzarz
Tue Jan 20, 2004 9:46 pm


-----------------------------------
GD eh? um, wuts GD? :?

-----------------------------------
McKenzie
Tue Jan 20, 2004 10:00 pm


-----------------------------------
Ahhh my first program ... I remember it well. 
print "Hello World"
...those were the days

-----------------------------------
Amailer
Tue Jan 20, 2004 10:06 pm


-----------------------------------
... made no programs  :cry: 
but i did make scripts  :D  but i don't like it.. amailer :( dumbest thing ever. LOL

-----------------------------------
Skizzarz
Tue Jan 20, 2004 10:08 pm


-----------------------------------
speaking of hello world, (as this is almost everyones first program in a new language) i found this site one day when i was bored and typed hello into google lol, wut a coincidence, http://www2.latech.edu/~acm/HelloWorld.shtml

p.s.- lmao theres a language called brainfuck, how funny is that?

-----------------------------------
the_short1
Tue Jan 20, 2004 10:12 pm


-----------------------------------
Brain eh!??.. anyway... yea mine was Box with maple leaf, drew a box at your cursor, and a maple leaf inside it... i worked a bit with Basic before i whent into turing class so instead of listening to teacher... i went into help and found Draw. Fill Stuf.... verry cool.. talk of class for a day... got em all hyped..those were the days.... now they dont even care when someone makes a Pac Man!!!

-----------------------------------
bugzpodder
Tue Jan 20, 2004 10:32 pm


-----------------------------------

p.s.- lmao theres a language called brain****, how funny is that?
haha, in CCC stage 2 last year i had to right an interpreter for brain***, which ****ed my brain up and costed me a whole good deal.

my first program is in LOGO i believe, the only thing i remember making (~12 years ago) was a go-moku (5 in a line).  then i tried VB, and made a shitty game where you have to click on the happy face when it smiles (like hitting the mouse when it comes out of the cave).  in Turing, i made a Naval command game with some kool animations, over 2000 lines (mainly cuz of crappy programming practice -- you can probably cut everything down by three quarters).  and in C++, hmm... no games, mainly implmentation of standard algorithms (CCC stuff basically)... although i did port my 4x4x4 Tic tac toe (yep still undefeated) to VC .net awhile ago, with graphics from VB .net

-----------------------------------
bugzpodder
Tue Jan 20, 2004 10:35 pm


-----------------------------------
right here: http://contest-cemc.uwaterloo.ca/ccc/2003/1_bf.pdf

-----------------------------------
Catalyst
Tue Jan 20, 2004 11:24 pm


-----------------------------------
whats so tough about that?

-----------------------------------
bugzpodder
Wed Jan 21, 2004 7:19 am


-----------------------------------
a bug in my program due to unexpected C++  behaviours.  and yah, given the size of hte data ,your program (esp in turing) would get a time out because you search for the ] every time.  you need to create an array that explicitly store the location of the matching [] to avoid time outs which i dont think you did.

-----------------------------------
Catalyst
Wed Jan 21, 2004 3:10 pm


-----------------------------------
hmm i see what u mean
what sorta unexpected behaviour was it?
