Modern video game systems, and modern TVs for that matter, are certainly much more capable than those of just a few years ago. In the 1980s, CRT TVs dominated the market, which allowed the NES, or even later systems like the Sega Saturn or Dreamcast, to take advantage of the way pixels were refreshed to detect whether or not you hit an enemy.
Unfortunately, because of the way images are processed in today’s flatscreen televisions, this no longer works as it was originally intended. However, if you do want to get out Duck Hunt to play on your current TV, “chipos81” has come up with a method using a Raspberry Pi, an Adafruit Pro Trinket, and a Wiimote to control an LED inserted into an old light gun barrel.
You can see more in the video below, or check out the entire project — which he calls “LCDZapper” on GitHub so you can build your own!