system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5 How the hell the Nintendo Duck Hunt gun works!

Ok so on Nintendo Entertainment System the game Duck Hunt has always stumped me.

It has a gun, that plugs into the system, and you point at the screen and shoot ducks. How the hell does the gun register where you are shooting without some sort of sensor like the Wii or playstation eye toy deal?

All it does is plug into the system, it doesnt connect to the TV or anything else, how the hell?
gpt
When you pull the trigger the screen goes black for a split second, and then puts a white box where the duck is.  There's a very basic camera in the barrel of the gun, and if it sees that white box it registers a hit.