LOGO-L> 15-Word Challenge Rule Revision 
Author Message
 LOGO-L> 15-Word Challenge Rule Revision

I would like to announce a rule revision to the
Logo 15-Word Challenge.

The previously posted rules said:
Do not write a named Logo procedure (don't use "TO").

I AM REVISING THE RULES TO SAY:
Do not write a named Logo procedure using "TO".
You may use "DEFINE" to define a procedure, followed
by a command to run the procedure, all on the same line.

Here is an example (24 words) from M.H. Elhefni:
 >define "c [[n][if :n=0 [fd 5 stop] c :n- 1 rt 90 c :n- 1 lt 90]] c 11

I was previously unaware of the "DEFINE" command
(I am not a Logo expert), so I had assumed it was impossible
to define and run a procedure all on one line starting at
the command prompt.

Can anyone define and run, in 15 words or less, a recursive
procedure which generates a nice fractal?

What is the minimum number of words required to generate
a fractal in Logo?

- Keith Enevoldsen

---------------------------------------------------------------





Tue, 19 Oct 1999 03:00:00 GMT  
 LOGO-L> 15-Word Challenge Rule Revision

Hi Keith,

Here's a "Times" entry. it should be run in text screen:

   for[i 1 10][repeat 10[type form repcount*:i 4 0]pr[]]

So how many entries have we so far?

Regards...

[[Yehuda]]

---------------------------------------------------------------





Tue, 19 Oct 1999 03:00:00 GMT  
 LOGO-L> 15-Word Challenge Rule Revision


this contest entry:

<<
; hypercube
repeat 8 [ repeat 4 [rt 90 fd 100] bk 100 lt 45]

(Logo enters a higher dimension!)

- Keith Enevoldsen
---------------------------------------------------------------





Sat, 23 Oct 1999 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. LOGO-L> Logo 15-Word Challenge Update

2. LOGO-L> Re: Logo 15-Word Challenge

3. LOGO-L> Logo 15-Word Challenge

4. LOGO-L> Logo 15-word challenge update

5. LOGO-L> Logo 15-Word Challenge Update

6. LOGO-L> Logo 15-Word Challenge Update

7. LOGO-L> Re: 15-Word Challenge

8. LOGO-L> 15-Word Challenge Final Report

9. LOGO-L> 15-Word Challenge WINNERS

10. [Fwd: LOGO-L> 15-Word Challenge WINNERS]

11. LOGO-L> Logo 15-Word Challange Update

12. LOGO-L> 15-Word Lissajous using repcount

 

 
Powered by phpBB® Forum Software