Name: Anonymous 2012-10-07 17:31
I'm sure you all have fond memories of being a 7-year-old child programming in LOGO at school (at home we mostly used BASIC and Z80 or 6502 ASM). I remember that some spoiled rich kid even had a real turtle, like this one http://www.obsolete-tears.com/hist/promobile/tortue.jpg
So, here's a small LOGO program:
If you call it with the parameter 90, it draws:
shitbrix 90
_ _____
| | | ___|
| |_| |___
|____ _ |
___| | | |
|_____| |_|
With parameter 120 it draws:
shitbrix 120
-
___ /_\____
\ / \ /
\/ \/
/\ /\
/__\___/__\
\ /
-
Online LOGO interpreter, try it:
http://www.calormen.com/logo/
So, here's a small LOGO program:
to shitbrix :angle
repeat 4 [ fd 30 rt :angle fd 10 rt :angle fd 20 lt :angle fd 10 lt :angle fd 20 rt :angle]
endIf you call it with the parameter 90, it draws:
shitbrix 90
_ _____
| | | ___|
| |_| |___
|____ _ |
___| | | |
|_____| |_|
With parameter 120 it draws:
shitbrix 120
-
___ /_\____
\ / \ /
\/ \/
/\ /\
/__\___/__\
\ /
-
Online LOGO interpreter, try it:
http://www.calormen.com/logo/