History of Nintendo
In 1972, the first commercially available video game console, the Magnavox Odyssey, had a light gun accessory, the Shooting Gallery. This was the first involvement of Nintendo in video games. According to Martin Picard in the "International Journal of Computer Game Research": "in 1971, Nintendo had -- even before the marketing of the first home console in the United States -- an alliance with the American pioneer Magnavox to develop and produce optoelectronic guns for the Odyssey (released in 1972), since it was similar to what Nintendo was able to offer in the Japanese toy market in 1970s".
History of video games
Today, however, the term "video game" has completely shed its purely technical definition and encompasses a wider range of technology. While still rather ill-defined, the term "video game" now generally encompasses any game played on hardware built with electronic logic circuits that incorporates an element of interactivity and outputs the results of the player's actions to a display. Going by this broader definition, the first video games appeared in the early 1950s and were tied largely to research projects at universities and large corporations.