magibrain: This alt text intentionally left blank. (This icon intentionally left blank.)
[personal profile] magibrain
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.

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.
From:
Anonymous( )Anonymous This account has disabled anonymous posting.
OpenID( )OpenID You can comment on this post while signed in with an account from many other sites, once you have confirmed your email address. Sign in using OpenID.
User
Account name:
Password:
If you don't have an account you can create one now.
Subject:
HTML doesn't work in the subject.

Message:

 
Notice: This account is set to log the IP addresses of everyone who comments.
Links will be displayed as unclickable URLs to help prevent spam.

Profile

magibrain: A radiation symbol. It appears to be a little bit on fire. (Default)
magibrain

April 2016

S M T W T F S
     12
3456789
10111213141516
17181920212223
242526 27282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 19th, 2017 08:27 pm
Powered by Dreamwidth Studios