r/programming • u/balazsbotond • Aug 30 '15
JavaScript “maze generator” in a tweet
https://twitter.com/botond_balazs/status/637960240055615488
841
Upvotes
r/programming • u/balazsbotond • Aug 30 '15
View all comments
Show parent comment
1
u/bottomofthekeyboard Aug 31 '15 edited Sep 02 '15
If only the character codes were 4051 and 4052 :)
For a laugh, as not to original submission...
javascript:for(x=i=9585;i--;)document.write(i%~80?'&#'+(x+new Date%i%2):'<p style=margin:-.5em>')
(97 bytes)
EDIT:
Interesting on Linux Ubuntu you can replace the <p style=margin:-.5em> back with \n to save even more bytes. Don't know why this is but is consistent for both Chrome and Firefox.