Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 cool line maker
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
flamemaster89




PostPosted: Sat Nov 12, 2005 2:36 pm   Post subject: cool line maker

var x, y, buttonnumber, buttonupdown, buttons,col : int
var nx, ny : int
randint(col,1,255)
loop
buttonwait ("down", x, y, buttonnumber, buttonupdown)
nx := x
ny := y
loop
randint(col,1,255)
drawline (x, y, nx, ny, col)
exit when buttonmoved ("up")
mousewhere (nx, ny, buttons)
drawline (x, y, nx, ny, 1) % Draw line to position
end loop
buttonwait ("up", nx, ny, buttonnumber, buttonupdown)
drawline (x, y, nx, ny, col) % Draw line to final position
end loop

QUESTIONS?Comments?concerns?
Sponsor
Sponsor
Sponsor
sponsor
ZeroPaladn




PostPosted: Mon Nov 14, 2005 9:47 am   Post subject: (No subject)

Questions?

What is the point to this program?

Comments?

I suggest you stop posting these types of programs, your gonna get yourself banned.

Concerns?

If i do beleive so, this is your 3rd pointless program, again under the catergory "OMFG so trippy flashes". Your treading in deep water my friend.

Other than that, its neat.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: