BBC BASIC for Windows
« see my frekead up snake... »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 9:55pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: see my frekead up snake...  (Read 635 times)
steini1977
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 3
xx see my frekead up snake...
« Thread started on: May 4th, 2017, 5:07pm »

Code:
      mode 21
      x=50
      repeat
        wait 1
        rem repeat
        rem keyb=inkey(0)
        rem until keyb<>-1
        colour 128+15:colour 0
        print tab(x,0);"@"
        colour 128+0:colour 15
        vdu 23,7,0,2,16;16;8;:rem scroll up 2, scroll down 3
        x=x+(-1^rnd(4))
        if x=0 then x=45
        if x>45 then x=45
      until false
 
User IP Logged

-ghost in the machines.. -I robot
michael
Senior Member
ImageImageImageImage


member is offline

Avatar




PM


Posts: 335
xx Re: see my frekead up snake...
« Reply #1 on: May 5th, 2017, 12:02am »

Reminds me of the old racing games back in the 80s. You could use this method to make the race track.
User IP Logged

I like making program generators and like reinventing the wheel
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls