How Did The Nintendo Game Duck Hunt work?

If you’re a millennial like me, I’d be willing to bet that you have either played or at least seen/heard of the game Duck Hunt. It is a basic shooter video game that was extremely popular back in the day when video game graphics weren’t so advanced, back when people relied on Nintendo video games that were all 2D. If you still can’t imagine the game in your head, here’s a picture to refresh your memory:

maxresdefault

Remember this awesome light gun video game we used to play back in the day?

When I first played that game, I couldn’t have been more than 10 years old. Back then, I remember being completely dumbfounded by the sheer brilliance of how the game worked – I could simply point the gun at the TV screen, press the trigger and bam! I could shoot objects on the game screen. It was awesome!

However, it took me many years to understand how the whole thing actually worked, i.e., how the video game figured out where exactly I was pointing the gun. That’s precisely what we’re going to discuss in this article.

Before that, however, for people who haven’t played or even heard of this amazing game, here’s a bit of background:

What is Duck Hunt?

Duck Hunt is a light gun shooter video game developed by Nintendo for the NES video game console. The most notable thing about the game is that it can only be played with the NES Zapper gun. Also known more simply as the light gun, it’s used to shoot ducks in the game.

DuckHuntBox

DuckHuntBox. (Photo Credit : Wikimedia Commons)

The game is very simple. When it starts, a duck appears from the bushes and flies (within the boundary of the frame) for 3-4 seconds before going out of frame. What you need to do is point the light gun at the duck and shoot it before it disappears. The more ducks you shoot, the higher your score. Easy!

What makes the game interesting is that, unlike a controller, which feeds information to the Nintendo device ‘directly’ (i.e., you don’t need to point the controller in a certain direction for it work), in the case of this game, you have to actually point the gun at the correct spot on the TV screen in order to shoot the duck.

Nintendo-Entertainment-System-NES-Zapper-Gray-R

The Nintendo Zapper, a light gun for the Nintendo Entertainment System (NES) video game console. This is the gray model that was originally released as a pack-in with the console, but was later sold separately. (Photo Credit : Evan-Amos/Wikimedia Commons)

There must be a nifty piece of engineering involved that helps the game determine if the gun was (or wasn’t) pointed at the right spot when the trigger was pulled.

Now, let’s take a look at how the game actually works.

How Duck Hunt works

The original version of Duck Hunt, which was launched back in 1984 (yes, it’s that old!), was designed in such a way that it would only work on CRT (cathode ray tube) screens, but not on LCD (liquid crystal display) and Plasma TVs. (Source) The reason behind that is related to the way CRT televisions and the game work together.

crt old toshiba tv

The original Duck Hunt could only be played in CRT televisions. (Photo Credit : Famartin/Wikimedia Commons)

A CRT screen has pixels that glow when electrons hit it. The cathode ray tube sprays a stream of electrons across these pixels, which make the TV screen glow. This spray sweeps progressively from top to bottom, in a left-to-right fashion. This happens so fast (around 100 times per second) that our eyes simply see a normal-looking image on the screen, thanks to the persistence of vision that humans are blessed with.

Fun fact: if you have a very high-speed camera, you can actually point it at a CRT screen and observe the pixels being lit up in a left-to-right fashion, line by line. In fact, that’s why CRT computer screens look so different in pictures that they do in real life. We have even explained that strange phenomenon in this article: Why Do Computer Screens Look Different In Pictures Than In Real Life?)

How does the game know exactly where you pointed the gun?

Coming back to Duck Hunt, the light gun used in the game consists of a trigger and a light sensor (a photodiode). When you pull the trigger, the entire screen goes black for 1 frame. The light sensor detects that blackness and records it as a reference point, i.e., it understands that “okay, this is black.” In the next frame, only the area around the duck (as in, the duck’s position on the TV screen) is lit up as a white square, while the rest of the screen remains black.

Take a look at the following image to visualize the whole process better:

In that split second, when there’s a small white box around the duck, if the gun detects a shift from black to white, i.e., it saw a white color instead of a black one (i.e., because it saw a completely black screen in the previous frame, the game would know that you aimed at the right spot on the screen. Voila! The game would then report that you made a successful shot!

On the other hand, if the photosensor in the gun didn’t detect a shift from black to white, the game would know that you didn’t aim correctly at the target, meaning that you missed the shot.

In a nutshell, the small light sensor present in the gun does all the trickery, and is a crucial component of the gadgetry that made Duck Hunt a truly remarkable game. It might look basic compared to games today, but plenty of millennials will argue that it is a masterpiece in its own right!

References

Cornell University Link 1
Cornell University Link 2

The short URL of the present article is: http://sciabc.us/8EAl7
Help us make this article better
About the Author:

Ashish is a Science graduate (Bachelor of Science) from Punjabi University (India). He spends a lot of time watching movies, and an awful lot more time discussing them. He likes Harry Potter and the Avengers, and obsesses over how thoroughly Science dictates every aspect of life… in this universe, at least.

.
Science ABC YouTube Videos

  1. Does Earth Come Back To The Same Spot In Space Every Year On Your Birthday?
  2. What Happens When A Bird Strikes An Aircraft?
  3. How Does Google Maps Works: How Is It So Incredibly Accurate About Traffic Conditions?
  4. 10 Things About The Solar System Your Teachers Never Told You
  5. What Happens When Something Travels Faster Than The Speed of Light?
  6. Entropy: Why is it Predicted to Cause the Heat Death of the Universe?
  7. Science of a Rocket Launch: How do Rockets Work?
  8. How Transistors Work

Related Articles



Get more stuff like this
in your inbox

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.