Last active
July 1, 2017 12:34
-
-
Save rwaldron/486ba808018751a41cc28e7474437cb3 to your computer and use it in GitHub Desktop.
Found on https://js.do
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Labyrinth generated with JavaScript:<br><br> | |
<script> | |
for (var line=1; line<60; line++) { | |
for(var i=1;i<29;i++) { | |
var s = (Math.floor((Math.random()*2)%2)) ? "╱" : "╲"; | |
document.write(s); | |
} | |
document.writeln("<br>"); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment