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

Username:   Password: 
 RegisterRegister   
 Line Thing
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
chipanpriest




PostPosted: Sun Dec 18, 2011 4:13 pm   Post subject: Line Thing

Very simple took me 2 minutes :p but its cool

Turing:

var mx, my, click, col : int

View.Set ("offscreenonly")

loop
    randint (col, 10, 13)
    mousewhere (mx, my, click)
    if click = 1 then
        drawline (0, 0, mx, my, col)
        drawline (0, maxy, mx, my, col)
        drawline (maxx, 0, mx, my, col)
        drawline (maxx, maxy, mx, my, col)
    end if
    View.Update
end loop

Sponsor
Sponsor
Sponsor
sponsor
Aange10




PostPosted: Sun Dec 18, 2011 5:55 pm   Post subject: RE:Line Thing

Very cool
klutzedufus




PostPosted: Tue Mar 20, 2012 10:12 pm   Post subject: RE:Line Thing

Simple things amuse simple minds. aka I love it!
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  [ 3 Posts ]
Jump to:   


Style:  
Search: