Langton's ant: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: changed PRE height.)
m (→‎{{header|REXX}}: Un-eat the Ruby example)
Line 1,727: Line 1,727:


=={{header|REXX}}==
=={{header|REXX}}==
<lang rexx>
<lang rexx>/*Langton's ant*/
/*Langton's ant*/
/*binary colors: 0=white, 1=black*/
/*binary colors: 0=white, 1=black*/
@.=0 /*define stem array (all white).*/
@.=0 /*define stem array (all white).*/
Line 1,818: Line 1,817:
█ ████ █ ██
█ ████ █ ██
██ ████████████ ██
██ ████████████ ██
</pref>
</pre>


=={{header|Ruby}}==
=={{header|Ruby}}==