Computer Science Canada

im confused on something on turing

Author:  Womble [ Wed Nov 29, 2017 4:48 pm ]
Post subject:  im confused on something on turing

ive been trying to make a program for an assignment in my class that is basically a person walking across a 10 meter bridge If he does take a step the step is 1 metre long and ive been trying to figure out on how to do that if anyone could post something to help me do this that would be great Very Happy.

Author:  Insectoid [ Wed Nov 29, 2017 8:47 pm ]
Post subject:  RE:im confused on something on turing

You're gonna have to describe it better, I have no idea what you're asking.

Author:  TokenHerbz [ Mon Dec 04, 2017 2:54 am ]
Post subject:  RE:im confused on something on turing

start with drawing a dot or box...

change some of those x and y values and it moves the box...

so if you want to "move" your box, just add that "10 meter step" to the X,Y direction your wanting to move him.

code:


setscreen("graphics")
var m: int := 0
loop
    drawbox(100,m,110,m+10,black)
    m += 10
    delay(200)
    cls
end loop



: