retrobrad
games that you type in.

 
Post new topic   Reply to topic    retrobrad Forum Index -> Retro Gaming Magazines (new and old)
View previous topic :: View next topic  
Author Message
grapes of gorf
Moderator
Moderator


Joined: 01 Jul 2007
Posts: 100
Location: Smythesdale, Vic, Aus

PostPosted: Mon Jan 14, 2008 4:57 pm    Post subject: games that you type in. Reply with quote

Just wanted to know if anyone has a good,bad story about typing programs in to an early micro from a magazine or book?

I had good fun with this tiny basic program, from a Usborne book (Usborne released a lot of early micro programming books).

(i'm on holidays so am going to pass/waste some time typing it)

10 let a=38:let b=23:let z$=chr$(255)
20 cls:dim z(a,b)
30 let q=1:let w=15
40 print tab(q,w);"*"
50 if z(q,w)=1 then print "crash":stop
60 if a=q then print "well done":stop
70 let a$=inkey$
80 let x=int(rnd(1)* a+1)
90 let y=int(rnd(1)* b+1)
100 let z(x,y)=1:print tab(x,y);z$
110 if a$="a" then let w=w-1
120 if a$="z" then let w=w+1
130 if a$="m" then let q=q+1
140 goto 40

If you get it to run you will be able to play a cool little maze game.

I also tried to write my own 'text adventure game' when I was young. But could not really work out how to code it (disaster).

discuss your programming disasters/triumphs.


Last edited by grapes of gorf on Tue Jan 15, 2008 3:38 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
tomz/TIDE
Moderator
Moderator


Joined: 08 Jul 2007
Posts: 562
Location: nsw.Australia

PostPosted: Mon Jan 14, 2008 8:30 pm    Post subject: Games that you typed in Reply with quote

Games and Pokes from mags that you had to type in was probably what got me interested in coding. And yes Ive had my fair share of typing for hours only to find that the prg didnt work, lo and behold the following month some of the mags would issue corrections............

BTW-I get a syntax error in line 40 of that game you posted, and I havent worked out why yet as it looks like it should work,but its been a couple of years since I did a lot of basic and the old brain forgets things easily.... Embarassed

Smile tomz Smile
_________________
http://noname.c64.org/csdb/scener/?id=1971
Back to top
View user's profile Send private message Send e-mail
grapes of gorf
Moderator
Moderator


Joined: 01 Jul 2007
Posts: 100
Location: Smythesdale, Vic, Aus

PostPosted: Tue Jan 15, 2008 3:40 pm    Post subject: Reply with quote

Sorry, my fault
the first line should be
10 let a=38:let b=23:let z$=chr$(255)
(have changed on prev post)
Back to top
View user's profile Send private message Visit poster's website
mixojoe
expert
expert


Joined: 17 Sep 2007
Posts: 311
Location: Ballarat, Victoria

PostPosted: Tue Jan 15, 2008 3:49 pm    Post subject: Reply with quote

Oh I used to love typing in games for an hour or so on my zx80 and them finding them not working lol. Most games had no visuals except for command line interface lol. ALso the zx80 flashed the screen on and off with each keystroke.
_________________
Visit http://www.sickindividual.com
Back to top
View user's profile Send private message Visit poster's website
retrobrad
Administrator
Administrator


Joined: 08 Jun 2007
Posts: 1039
Location: NSW, Australia

PostPosted: Sat Feb 02, 2008 7:52 am    Post subject: Reply with quote

those usbourne books were great! ive still got quite a few of them today...

ive actually started looking into programming my own games for the nintendo entertainment system! its all done in assembly language so ill have to see how i go...
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    retrobrad Forum Index -> Retro Gaming Magazines (new and old) All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
Style Distributed by Olate