War Games Clock "Would you like to play a game?"

Hey gang! Here’s a chronicle of my longest-running GF-enabled project. I grew up watching the 1983 film War Games over and over again on VHS, and like many computer geeks now in their 40’s it’s one of my favorite flicks. A recurring element throughout the film is that of nuclear “launch codes” and struggle between man and computer in controlling them. Several times during the movie a launch code display is shown, particularly near the end of the film, with a rapidly changing digit sequence displayed as an out-of-control NORAD computer tries to crack the code and launch missiles without human approval. You can see the end sequence here: https://youtu.be/s93KC4AGKnY , but I’d advise seeing the entire film first!

So I set about building a clock that approximates the appearance of the code display featured in this last part of the film. I had to make some minor changes due to the fact that obtaining 1983-era vacuum fluorescent display hardware and building the required circuitry for it would have put this project beyond my patience level, if not my skill level. Instead, I used some modern LED alphanumeric components that were slightly larger than the orignal ones in the movie; consequently the alphanumeric display is a little larger than the pushwheel switch array. The LEDs and pushweels will mount in this front display panel:


Here’s the main circuit board that will mount behind that front panel:


The pushwheels were the hardest thing to obtain. Generally they are easy to get, but I wanted to match the movie ones as closely as possible. I finally found some made by Hampolt that were nearly identical, but had to import them from China at a not-insignificant cost. They are numeric-only, and since I needed letters to match the movie, I had to crack some open and modify them to include some letters.


The brains behind the scenes is a Raspberry Pi Zero W. Using I2C to control the LEDs, and four of the pushwheels for input, there’s a ~700 line python script that runs the clock. (But I’m a hack and anyone with any python skill could probably do it in half that!) It generates random characters for each position, cycles through the code until it’s “solved”, and then displays date and time before repeating the sequence. The code is solved in sync with the actual movie timeline; in other words, during the final scenes of the movie as the NORAD computer attempts to break the code, each time it solves a particular position, that same position is solved on this clock. Overall it takes about 8 minutes to run through the entire code. You can use the pushweels to toggle a clock-only mode, change brightness, or to shut down the RPi.


The RPi connects to WiFi and syncs time with ntp.pool.org. I also included a DS3231 real-time clock chip to maintain time accuracy when unplugged or when Internet access is not available. Perhaps overkill, but I like my clocks to be more accurate than Doc Brown’s.


The engraved aluminum identification plate on the back is modeled after an actual id plate on a real launch code panel in a nuclear missle silo in South Dakota. You can see it yourself by visiting the Minuteman Missle National Historic Site (which is awesome), or just look at these pictures here:


I also included a bad-ass Switchcraft locking DC power jack and mating cord, which has a nice industrial feel.


Finally, here is the completed clock and a short video of it in operation:



In this video it’s running a demo program that solves the code in under a minute, just so you can see the entire sequence without having to watch for 8 minutes! In normal operation it runs the full 8 minute cycle.

Thanks to Adafruit for having such a great selection of cool things to build with! From there I obtained:
RPi Zero W
DS3231 Precision RTC Breakout
Perma-Proto Full-sized Breadboard PCB
GPIO Ribbon Cable
Quad Alphanumeric Display with I2C backpack

Also thanks to estreetplastics.com for good selection, prices, and service. They saved my bacon at least twice by fixing order mistakes I had made.

And thanks to all of you for your contributions to this forum, from which I’ve absorbed much knowledge and inspiration!

41 Likes

Now I have to watch the movie again!

I don’t have the words to desire the geeky awesomeness of this :slight_smile:

4 Likes

Let’s play… global… thermal… nuclear… war.

3 Likes

Great movie, awesome build!

1 Like

I wanted to see the code: CPE 1704 TKS

Yes, I am a geek… and I didn’t even need to look it up…

3 Likes

This is a great project. That was a great movie that has tropes that are repeated in most of the present day hacker movies. Amazing to see such detail and bringing together so many things.

Makes me think that it could go well with the post apocalyptic inventor’s computer desk.

5 Likes

What a great write up and project. Thanks so much for sharing.

1 Like

Wouldn’t you prefer a nice game of chess?

3 Likes

It’s gorgeous! Great project! Wonderful write-up! Thanks for the pics!

I remember seeing that movie in the theater. For some reason I immediately memorized the launch code. Never have forgotten it. Can’t guess how many times I’ve seen the movie. Just watched it again like 2 weeks ago. I still catch little things here and there.

3 Likes

This must be a thing because I make 3. I remember there was a Burger King ad campaign about it at the time that had the code prominently on screen. For some reason I thought it’d be cool to memorize it. Let’s see if YouTube has it… doesn’t appear so. Dang.

But there is this:

3 Likes

I don’t often post just to gush but, well, damn, there is just something about a perfectly executed sci-fi clock.

I want to do a big one for the lair and have it programed to do several count downs and the time in 24H.

1 Like

Just what I needed, another rabbit hole… :crazy_face:

3 Likes

I also believe that there is one scene where it shown as JPE 1704 TKS - but later shows as CPE…

1 Like

Yeah… It must be a thing. As a Network Administrator I periodically attend security conferences. Last year I went to one and the first speaker’s first question to the audience was “How many of you know the War Games launch code?” Granted, that audience is made up of like-minded, similarly-influenced people… But the sound of hundreds of people rattling off the 10-character code off the top of their heads was pretty amusing. :slight_smile:

5 Likes

It was one of my very early passwords many, many years ago. Not secure, but probably better than most at the time.

2 Likes

You’re right Todd, near the end just as Joshua starts trying to break the code. Good eagle eye, you must be a true WG fan! I was going to include both C and J on the first pushwheel as a nod to this discrepancy, but that didn’t quite make it into the final build. Interestingly, there are TWO different code displays used in the movie, and they alternate between the two during the final sequence:


10 Likes

Soooo…

The movie seems to have used used 16-segment planar gas (or maybe LED. Hard to say) displays, I smell version 2!

Here’s an LED based version:
https://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?storeId=10001&productId=2276711&catalogId=10001&langId=-1&CID=GOOG&gclid=Cj0KCQjwhJrqBRDZARIsALhp1WRhWF_-UkSCyDbd_nZyiF-DDo-UYHxqeg1DmpfGRJ-PJZfQPPhLE1oaApD3EALw_wcB

(note the split horizontal lines in the digits)

Or if you want to go for super accuracy, we need to find VFD in red… probably a planar gas display? Can you even get these anymore?

https://digital.sciencehistory.org/works/rv042t299

The horizontals aren’t split though. Hmm. There’s always a rabbit hole, isn’t there?

1 Like

Yeah, it’s a tough call. They don’t look quite like LED to me. There’s a tiny bit of “fade” in and out as the digits illuminate, like the difference you notice easily between an incandescent bulb and LED turning on and off. You can see in the 2nd picture above that the code is LPE 1404 WXS, but the residual glow from previously lit segments is still there. There are some interesting options here: http://www.vintagecalculators.com/html/calculator_displays.html. I bet it’s more likely some VFD or cold cathode tech, maybe even in individual tubes. Maybe I can track down the props guy from the movie…

1 Like

Waaaaaaaay over my head but very cool!

2 Likes

Ditto!

1 Like