Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the say.R function to accept alternative ASCII art ? #2

Open
jrfep opened this issue Apr 2, 2022 · 1 comment
Open

Change the say.R function to accept alternative ASCII art ? #2

jrfep opened this issue Apr 2, 2022 · 1 comment

Comments

@jrfep
Copy link
Contributor

jrfep commented Apr 2, 2022

Just a random idea on a Saturday morning:

What if you change the say.R function to accept a custom string for the ASCII art?

Something like:

say <- function(what, asciiArt=NULL){
 if (is.null(asciiArt)) {
  asciiArt <- whale...
 }
...
} 

So you could have a collection of whale ASCII art and phrases and combine both... just for fun!

@jrfep
Copy link
Contributor Author

jrfep commented Apr 4, 2022

For example: https://ascii.co.uk/art/whale
or a one-liner :

(__-){

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant