Advertisement

Game Programming

Started by March 22, 2002 11:00 AM
36 comments, last by GoldenOne 22 years, 7 months ago
Ofcourse an 8 year old can code. I looked back on some Qbasic games I made when I was about 9-10 maybe.

I wasn''t really good at English back then. This is just hillarious

This is the beginning of one game I started on(I couldn''t find my full/longer games):


  REM  THE ULTIMATE WARCLSPRINT "R"FOR I = 1 TO 2000NEXT ICLSPRINT "AR"FOR I = 1 TO 2000NEXT ICLSPRINT "WAR"FOR I = 1 TO 2000NEXT ICLSPRINT " WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "E WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "TE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "ATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "MATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "IMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "TIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "LTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT " ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "  ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "   ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "    ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "     ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "      ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "       ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "        ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "         ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "          ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "           ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "            ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "             ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "              ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "               ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "                ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "                 ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "                  ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "                   ULTIMATE WAR"FOR I = 1 TO 2000NEXT ICLSPRINT "                    ULTIMATE WAR  "FOR I = 1 TO 2000NEXT ICLSPRINT "                   TULTIMATE WAR  "FOR I = 1 TO 2000NEXT ICLSPRINT "                  THULTIMATE WAR  "FOR I = 1 TO 1000NEXT ICLSPRINT "                 THEULTIMATE WAR  "FOR I = 1 TO 1000NEXT ICLSPRINT "                THE ULTIMATE WAR  "FOR I = 1 TO 1000NEXT ICLSPRINT "               THE  ULTIMATE  WAR  "FOR I = 1 TO 1000NEXT ICLSPRINT "              THE   ULTIMATE   WAR  "FOR I = 1 TO 1000NEXT ICLSPRINT "              THE   ULTIMATE   WAR  "FOR I = 1 TO 1000NEXT ICLSPRINT "            THE    ULTIMATE    WAR  "FOR I = 1 TO 20000NEXT I    ''Play scale in 7 different octaves    scale$ = "AABBFFGGEEAABB"    PLAY "L16"    FOR I% = 0 TO 2        PLAY "O" + STR$(I%)        PLAY "X" + VARPTR$(scale$)    NEXT I% BEEPCLSLOCATE 10, 10PRINT "      IT HAVE WAR ON THE EARFH THE FOUR WORD WAR!"PRINT ""PRINT ""PRINT ""PRINT ""PRINT ""PRINT ""PRINT ""PRINT ""PRINT ""PRINT ""PRINT "                 PRESS ENTER TO CONTINUE"PRINT ""INPUT LLLLLLLLLL$CLSPRINT "ENTER YOUR NAME:"INPUT NAME$CLSLOCATE 10, 10PRINT "                  WELCOME "; NAME$;FOR I = 1 TO 50000NEXT IK:CLSPRINT "YOU ARE A ROOKY THE BEST YOU CAN BE IS A GENERAL"PRINT "UNDER STAND?"INPUT SVARJ$IF SVARJ$ = "YES" THEN GOTO JA:IF SVARJ$ = "YES SIR" THEN GOTO JAU:CLSPRINT "WHY DID YOU NOT UNDER STAND?"PRINT "I WILL REPEATE WHAT I SAID!"GOTO KJA:PRINT "GOOD!"FOR I = 1 TO 40000NEXT IH:PRINT "REMEMBER I ARE YOUR GENERAL WHAT EVER I SAY YOU DO?IS THAT KLEAR!"FOR I = 1 TO 80000NEXT IPRINT "GOOD!"GOTO VIDAREJAU: CLSPRINT "THATS GOOD THAT YOU SAYD YES SIR!"GOTO HVIDARE:  


That''s just cute

/MindWipe

"If it doesn''t fit, force it; if it breaks, it needed replacement anyway."
"To some its a six-pack, to me it's a support group."
lol MindWipe, brings back memories...

I miss those days when I wrote text adventures in BASIC on the IBM PC junior, then on the C-64.

Too bad I gave up on programming for the next 15 yrs.
Advertisement
I don''t have a big head. I just stated that I wanted to be succesful in the field. That''s the BASIC goal I''m setting. I''ve written 5 or 6 text games with battles and such. Also, I''ve been taking online courses for about 2 years now. I took the Intro to C++ about 4 times to get a VERY strong foundation. And again, I''m writing a tetris clone, "The Sky Is Falling". Now, I''m beginning to take a Intermediate C++ course. And to be honest, I''m ULTIMATELY serious about this. This is my career path I want to take. I go to Barnes and Noble that''s nearby almost every day to intake some more stuff about programming and to answer some of my questions. I''m 10000000000000000000000-> % serious about this.
10000000000000000000000 is not a pointer and % is not a class method

But still, what API are you using? DX?
---START GEEK CODE BLOCK---GCS/M/S dpu s:+ a---- C++ UL(+) P(++) L+(+) E--- W++ N+ o K w(--) !O !M !V PS- PE+Y+ PGP+ t 5 X-- R tv+ b+ DI+ D G e* h! r-- !x ---END GEEK CODE BLOCK---
Now you''re making jokes? :''(

Well, I''m not using anything like DirectX or OpenGL. Yet... Just making console programs. Basically, all I''ve done in the 4 years is this. The first two years: studied overall about programming itself and some of the languages. Did lots of research in this time. I figured out that I basically wanted to use C++. The last two years, I''ve been studying about C++ and getting again, a VERY STRONG FOUNDATION.
-----------
!! How are you making a tetris game? CONIO? What compiler are you using?
---START GEEK CODE BLOCK---GCS/M/S dpu s:+ a---- C++ UL(+) P(++) L+(+) E--- W++ N+ o K w(--) !O !M !V PS- PE+Y+ PGP+ t 5 X-- R tv+ b+ DI+ D G e* h! r-- !x ---END GEEK CODE BLOCK---
Advertisement
I'm still doing some research and getting help. I said I have 'begun' to start a tetris game. I'm getting the basics in to my brain. I'll get back to you on that question after a while. I'm using MSVC++.

[edited by - GoldenOne on March 25, 2002 8:42:41 PM]
GoldenOne-
Haven''t read all the posts here, just scanned through a few of them. I don''t know anything about GL, I like using DirectX. But that stuff doesn''t matter any. You''re doing this stuff at age 12, I didn''t start until many (many) years later. If you like programming, do it. By the time your my age you''ll be much more knowledgable on programming than I am now. Actually, it probably won''t take you nearly that long!
The best way to be good at programming (and get better at it), is to just write code.

"A man can''t just sit around." ''Lawn Chair'' Larry Walters (1982)
"A man can't just sit around." 'Lawn Chair' Larry Walters (1982)
GoldenOne - My advice to you is don''t post peronal stuff on these forums. You started out looking for advice and now you''ve got people talking down to you like "oh, he''s just a kid". Also don''t put to much stock in what these people say if its not programming related.

I totally know were your coming from though. when I was 10 I saw a report on 20/20 (i think) that was about the "new micro-computers" the first altairs and such (this was in the mid 70s). I fell in love from that moment on. I thought that making games and being able to model reality inside of a little box was the most awesome thing in the world. So the weekend I went with my family to a department store and I asked the salesguy in the electronic department if they had any computers and he said no, and me being a precocious young lad told him that I planned to build a computer one day. Yeah, I got laughed at. I didn''t get a computer for 6 more years (c-64). I used to read everything I could find about computers, but for a boy on a dairy farm in southern missouri, resources are very limited (ie non existant). Your lucky you have the internet, use it!

So don''t worry about what other people think and be true to yourself. Other people might marvel at your age, but in fact alot of us are just like you.
Thanks man/woman. I like your choice of words. And you''ve practically got hooked the same way as me. Yes, I''ve regretted telling my age real quick. I can tell you that I LOVE programming. I am HOOKED!!!!! I program as MUCH AS POSSIBLE!! I hope that after looking at your message, people will talk to me(at least on these posts) like I was 30.

This topic is closed to new replies.

Advertisement