Langton's ant: Difference between revisions

Content added Content deleted
Line 703: Line 703:


=={{header|D}}==
=={{header|D}}==
{{incorrect|D|The chirality of the output is reversed, meaning the ant is turning left when the spec says it should turn right, and vice-versa.}}
A basic textual version.
A basic textual version.
<lang d>import std.stdio, std.algorithm, std.traits, std.string;
<lang d>import std.stdio, std.algorithm, std.traits, std.string;