Airplane Programming Challenge

Challenge: Make something cool, from scratch, while on an airplane. Start when electronics are allowed and end when they’re not.

End Product

Airplane Programming Challenge

airplanechallenge.html

It’s a monosyllabic nonsense word generator. Sort of like my JabberWordy app but with more subjective, tuned arrays and with modified vowel sounds (think “ar”, “ol”, “um”) in addition to the normal vowels.

Stuff and Things

  • Words made from randomized consonantstart, vowelsound, and consonantend arrays
  • A probably overzealous badness array that nulled words if any of its strings (unpronounceable character combos like “mk”, “omg”, “iaf”) were contained
  • Kludgy JavaScript pulled from all the random files in my web folder (No wi-fi on the plane meant I couldn’t Google the right syntax to use like I normally would)

Seedling, Grow.

This was just an exercise, so it was missing some key things, namely:

  • Arrays stored in a database instead of JS
  • Nothing inlined
  • More thoughtful consonant arrays, maybe with consonant sounds like “ch”, “th”, “dr”
  • A better vocab of linguistic terms

What makes a word sound legit? What consonants, vowels, and vowel sounds are used more than others? And where in the word are they more prevalent, if so?

I imagine a crowdsourced app that puts the task of those questions on its users. Upvote and downvote buttons affect the weight and order of each array’s pulled item in subsequent combinations.

Additional features would be domain availability checking and a “My Words” bookmarking ability.

Feel free to take a look at the source and make use of any of it. No guarantees on any of it; I know it’s clunky.

Leave a Reply

Your email address will not be published.