Maze generation: Difference between revisions

Content added Content deleted
(→‎{{header|Python}}: right, 4 space tab)
(→‎{{header|D}}: remove trans: original incorrect python solution gone.)
Line 484: Line 484:
{{incorrect|D|Generated maze may contain sealed off sections, whereas a correct implementation shouldn't have that.}}
{{incorrect|D|Generated maze may contain sealed off sections, whereas a correct implementation shouldn't have that.}}
{{works with|D|2}}
{{works with|D|2}}
{{trans|Python}}
<lang d>import std.stdio, std.string, std.random, std.algorithm;
<lang d>import std.stdio, std.string, std.random, std.algorithm;