![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Today, in an effort to avoid actually writing anything (because writing is scary), I programmed functionality into my demographics/random sets generator which let you import comma-delimited lists of values. This, combined with the option I worked up a while ago which let you import random sets from the demographics generator into the bingo generator, means that I can do wacky stuff like working up a bingo card with a bunch of randomly-generated sets of things like fandom, trope, and wordcount. See below:
This is a bingo card which I will probably never do anything with, but at least it exists as a proof of concept.
Now, the demographics generator (unlike the bingo generator) is still in alpha, is desperately ugly, and lacks a ton of stuff that would make it easier to use – like, say, paging down to show you that your options have, in fact, been added when you click the button in the comma-delimited list options. That's because I'm a back-end developer by trade, and just getting jQuery to play nicely enough that it would import the comma-delimited list in the first place meant an hour of hand-to-hand coding. Nicer stuff will happen later, once my urge to procrastinate on writing exceeds my frustration with front-end technologies again.
But, you know, if this sort of challenge appeals to you, there's now a clunky interface on my site that allows you to set up bingo cards like this.
In other news, today I have learned that jQuery does not like passing data out of its AJAX scope, and that you have to tell it not to run its AJAX asynchronously if you actually want to provide its information to another part of your script. Even if that part of the script comes after the AJAX call. ...I feel like that one, I should have known.
This is a bingo card which I will probably never do anything with, but at least it exists as a proof of concept.
Fandom: (original) Trope: I Told You So Wordcount: 100 |
Fandom: Stargate SG-1 Trope: Lifeboat Shortage Wordcount: 150 |
Fandom: Final Fantasy VIII Trope: Rickety Bridge Wordcount: 150 |
Fandom: Final Fantasy VIII Trope: Hopelessly Outnumbered Wordcount: 250 |
Fandom: (original) Trope: Water & Electricity Wordcount: 250 |
Fandom: White Collar Trope: Stranded in a Blizzard Wordcount: 300 |
Fandom: Stargate SG-1 Trope: Rickety Bridge Wordcount: 100 |
Fandom: Stargate SG-1 Trope: Dying Request Wordcount: 150 |
Fandom: White Collar Trope: Something Went Click Wordcount: 200 |
Fandom: Stargate SG-1 Trope: Mistaken Identity Wordcount: 300 |
Fandom: White Collar Trope: Keep It Safe from Them Wordcount: 200 |
Fandom: (original) Trope: Snake Pit Wordcount: 300 |
Fandom: Final Fantasy VIII Trope: It's a Bomb! Wordcount: 250 |
Fandom: White Collar Trope: On Fire Wordcount: 150 |
Fandom: White Collar Trope: Lost Child Wordcount: 250 |
Fandom: (original) Trope: Knife in the Back Wordcount: 200 |
Fandom: White Collar Trope: I Told You So Wordcount: 250 |
Fandom: White Collar Trope: Botched Spell Wordcount: 200 |
Fandom: Stargate SG-1 Trope: You Are So Busted Wordcount: 250 |
Fandom: White Collar Trope: Everything Is Spiders Wordcount: 250 |
Fandom: (original) Trope: The Pilot Just Died Wordcount: 300 |
Fandom: (original) Trope: Running out of Air Wordcount: 150 |
Fandom: Final Fantasy VIII Trope: It Looks Hungry Wordcount: 100 |
Fandom: White Collar Trope: ... 05 ... 04 ... 03 ... Wordcount: 250 |
Fandom: Stargate SG-1 Trope: Blastoff Malfunction Wordcount: 150 |
Now, the demographics generator (unlike the bingo generator) is still in alpha, is desperately ugly, and lacks a ton of stuff that would make it easier to use – like, say, paging down to show you that your options have, in fact, been added when you click the button in the comma-delimited list options. That's because I'm a back-end developer by trade, and just getting jQuery to play nicely enough that it would import the comma-delimited list in the first place meant an hour of hand-to-hand coding. Nicer stuff will happen later, once my urge to procrastinate on writing exceeds my frustration with front-end technologies again.
But, you know, if this sort of challenge appeals to you, there's now a clunky interface on my site that allows you to set up bingo cards like this.
In other news, today I have learned that jQuery does not like passing data out of its AJAX scope, and that you have to tell it not to run its AJAX asynchronously if you actually want to provide its information to another part of your script. Even if that part of the script comes after the AJAX call. ...I feel like that one, I should have known.
no subject
Date: 2014-06-07 06:12 am (UTC)Thanks for sharing!
no subject
Date: 2014-06-07 07:59 am (UTC)