Anonymous user
Langton's ant: Difference between revisions
→{{header|Aime}}
m (→{{header|Sidef}}: minor code updates) |
|||
Line 152:
data b;
b =
w =
p = 1 << (7 - (x & 7));
}
Line 164:
{
while (-1 < x && x < 100 && -1 < y && y < 100) {
if (d & 1) {
Line 189 ⟶ 184:
i = 100;
while (i) {
i -= 1;
}
ant(50, 50, 2, l);
}</lang>
|