April eighteenth / interactions un calibrated / smiles abound
5
   
Award
Favorite
Favorited
Unfavorite
Download
"// ##############################################################################

// this is gonna maximum call stack and is crazy
// need ot iterate with some, or something but I ran out of time
// all the recursion is probably bogus oh no.
// check my profile and hope its good and keep this running for now.
try_big_fortune_array = (text = try_big_fortune(400), text_array = [], index = 0, points = 0, line = '') => // test this first
(i < 9) ?
line += text[0];
points += (text[0].match(/[a-zA-Z0-9]/) != null) ? 4 : 2;
text = text.substr(1);
(points >= (42*4)) ?
line = split_words(font(line.trim(), 4));
text_array = " ♡║ YYY " + line[0] + " YYY " + line[1] + " YYY";
try_big_fortune_array(text, text_array, index+1)
: try_big_fortune_array(text, text_array, index, points, line)
: text_array.map((text) => insert_emojis(text)),
try_big_fortune_array = () => {
var big_fortune = generate_big_fortune(768)
, big_fortune_array = [];
for (var i = 0; i < 9; i++) {
var points = 0
, line = '';
while (true) {
line += big_fortune[0];
points += (big_fortune[0].match(/[a-zA-Z0-9]/) != null) ? 4 : 2;
big_fortune = big_fortune.substr(1);
if (points >= (42*4)) {
line = split_words(font(line.trim(), 4));
big_fortune_array = " ♡║ YYY " + line[0] + " YYY " + line[1] + " YYY"; break; } } } return big_fortune_array.map((line) => insert_emojis(line)); // its gonna ♥♥♥♥ up randomization here, was it always?}//##############################################################################
"
1 Comments
󠀡 󠀡 23 Aug, 2019 @ 1:14pm 
:cleanseal: