Creating a pull request to document the ascii art feature.
Why Ascii Art
I think the user experience could be improved with some ascii art! This was originally inspired by #61 (safe to say this PR fixes #61).
How
A new folder of js files asciiart/ has been created, and each one of these files should be loaded at the top of the <head> in dung.html.
To create a new piece of art, add a new js file with only one variable titled ASCII_<ARTNAME>. Then, this can be simply loaded as a constant variable using jquery's $(#id).html(ASCII_<ARTNAME>) in dung.js.
Future
I hope to see more use of this! Its a cool way to expand the art of the game.
Creating a pull request to document the ascii art feature.
Why Ascii Art
I think the user experience could be improved with some ascii art! This was originally inspired by #61 (safe to say this PR fixes #61).
How
A new folder of js files
asciiart/
has been created, and each one of these files should be loaded at the top of the<head>
in dung.html.To create a new piece of art, add a new js file with only one variable titled
ASCII_<ARTNAME>
. Then, this can be simply loaded as a constant variable using jquery's$(#id).html(ASCII_<ARTNAME>)
in dung.js.Future
I hope to see more use of this! Its a cool way to expand the art of the game.