Re:Show HN: Minecraft Ipsum, my first side-project ever
by lewisgodowski on Wednesday July 03, 2013 @05:33PM
(#5987673)
Thanks! Yea, that'll be my next step forward. Because of the absurdly strange way I came up with of generating the sentences, I'm having a difficult time figuring out a way of doing that without completely re-writing my function. I'm sure I'll get that functionality working eventually, just need to learn more about JavaScript at this point in time.
[ Parent
| on HN ]
Re:Show HN: Minecraft Ipsum, my first side-project ever
by AndrewLuke on Wednesday July 03, 2013 @08:30PM
(#5988419)
A loop and an array is all you really need.
for amount of lines needed:
array.append = function call()
Then iterate over the results to display them. Not perfect, but will work without changing much.