Thursday, August 13, 2015

Code a Movie Quote #1 Answers

First of all, thank you for the tremendous response to my first Code a Movie Quote comic. I never expected it because this has become, far and away, my most popular strip, beating out Coffee Logic and almost topping my Irregular Webcomic tie-in strip (but that one was a bit of a flash in a pan from IWC readers).

This started as an exercise in logic, but I morphed it when a couple of coding ideas came to me. You can see that in the second Casablanca quote, which is basically meta-code of some type, not any real language.

As for the actual languages, I mixed it up a bit. I haven't experimented a lot with them since a few college classes on different languages. Most are basically the same, and I varied them because I didn't want anyone to get hung up on syntax. (Thus, the semicolons and the periods doing the same thing.)

Answer Key to #1

As noted twice now, I'm referring to this as #1 because I have 20,000 reasons to do it again. Maybe I'll wait a month or so, and post another ten. (What do you think?)

1. Field of Dreams. "If you build it, he will come."

2. Casablanca. "You played for her, you can play it for me!" (Bogey never actually said, "Play it again, Sam.", except maybe in an old Bugs Bunny cartoon.)

3. The Wizard of Oz. "There's no place like home."

4. Batman. "I'm Batman." Duh. (Seriously, I included one obvious thing for the humor value. I don't need 100 similar submissions!)

5. Apocalypse Now. "I love the smell of napalm in the morning."

6. M*A*S*H. "Suicide is painless. It brings on many changes. And I can take or leave them if I please." Lyric.
Note: Not having Google 40 years ago, I always thought (until just about the time I typed this) that the line was "I could take all evening if I please." Thank you to everyone for NOT pointing that out. No, seriously, I'm not alone in that misconception, but then those were other kids who misheard the same thing. Or just believed what someone else said were the words.
What kills me is that now that I do have search engines, I usually check that sort of thing!

7. Planet of the Apes (1968) "Damn you all to Hell". (Yes, the line is actually "God damn", but it works without taking my Lord's name in vain.)

8. Casablanca. "Maybe not today. Maybe not tomorrow, but soon" (and for the rest of your life). The entire quote was on Twitter, but I snipped it for the comic.
This was one of the earlier "meta" code examples, but I didn't want to lead off with it.

9. Forrest Gump. "Life was like a box of chocolates. You never know what you're gonna get." So it's random.

10. A Few Good Men. "You can't handle the truth!" Okay, I thought that was a clever way of coding it.

11. EDIT: If It's Tuesday, This Must Be Belgium. The quote is the title. I haven't seen this film, so I don't know if that's actually a line of dialogue from the film or just the movie's title. Thanks to William Ricker for posting it and allowing me to use it.

12. Annie. “The Sun will come out tomorrow." Lyric. Thanks to Evan Weinberg for posting it, and allowing me to use it.

13. Braveheart. “They may take our lives, but they'll never take our freedom!” (Originally, on Twitter, I didn't include the "may" because that seemed to be another "If" condition which wouldn't code in a way that made sense.)

14. Citizen Kane. "Rosebud." If you don't get this, I can't explain it without spoiling the movie. Well, that' not really true. It's the last word that Kane utters before dying. It's his end, so I thought that would be a good end to these quotes.

3 comments:

Bill in Boston said...

The movie name is even further removed from the code form:
"If It's Tuesday, This Must Be Belgium" (1969)


I don't recall if the title line actually appears in dialog as cut, but it's a good summary of sort of whirlwind bus-tours doing 9 countries in 18 days. (Although in pre-Schengen 1960s, they'd surely have noticed crossing the frontier each time, and so might more plausibly calculate if it's Belgium, it must be Tuesday.)

Most notable for Suzanne Pleshette as the love interest. (You'll know her from Hitchock's "The Birds" or as Dr Hartley's long suffering gorgeous wife on the (original 1970s) "Bob Newhart Show".) Also a nice comic part for Peggy Cass, and a cameo for Joan Collins ("Girl on Sidewalk" at age 35+!).

Blogger said...
This comment has been removed by a blog administrator.
(x, why?) said...

I'm sorry, Mr. Booger, but that's an incorrect response.