RE: Lua String to ASCII Art Program 05-09-2013, 05:15 PM
#11
It's already submitted there, @Feurex.
@JesseH: The code seems unnecessarily tedious. Don't you have a dictionary in Lua to avoid all these if-ss-for-statements?
And maybe a function that turns the input character to an uppercase (or lowercase one) so you don't have two checks everywhere?
I think you can reduce the lines of codes a lot.
@JesseH: The code seems unnecessarily tedious. Don't you have a dictionary in Lua to avoid all these if-ss-for-statements?
And maybe a function that turns the input character to an uppercase (or lowercase one) so you don't have two checks everywhere?
I think you can reduce the lines of codes a lot.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.
Expressed feelings are just an attempt to simulate humans.
![[Image: 2YpkRjy.png]](http://i.imgur.com/2YpkRjy.png)
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)