r/programming • • Aug 30 '15

JavaScript “maze generator” in a tweet

https://twitter.com/botond_balazs/status/637960240055615488
841 Upvotes

177 comments sorted by

View all comments

Show parent comment

1

u/ameoba Aug 30 '15

Can use a <p> instead of <pre> since you're using equally sized symbols & no whitespace.

4

u/MrBester Aug 30 '15

<tt> is still a thing...

2

u/balazsbotond Aug 30 '15

But then the new line characters would appear as spaces

1

u/ameoba Aug 30 '15

works fine in chrome

2

u/Asterne Aug 30 '15

Works fine in Firefox as well, although the text is bigger.