i made a program to make a pixel move around the screen using a do loop loop like this:
screen 13
do
randomize timer
x = int(rnd * 320)
y = int(rnd * 200)
pset (x,y)
a = int(rnd * 4)
if a = 1 then x = x + 1
if a = 2 then x = x - 1
if a = 3 then y = y + 1
if a = 4 then y = y - 1
cls
loop
that...
i am simply trying to make a program with random lines which do not cross eachother. i am completely lost in how to do this though. i know that you can make multiple random lines using a for next loop but i dont know if you can still do that without any of them crossing eachother. please help...
I am getting ready to try to make a maze using screen 13. I'm going to first write it down on some grid paper, labeling the lines 200 x 320 for the values of the axes on screen 13. That way it will be easier to plot the lines when im ready to make the maze. Then I will move a pixel around the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.