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 the Nintendo Entertainment System
Bolstered by its success in Japan, Nintendo soon turned its attention to foreign markets. As a new console manufacturer, Nintendo had to convince a skeptical public to embrace its system. To this end, Nintendo entered into negotiations with Atari to release the Famicom outside Japan as the "Nintendo Enhanced Video System". Though the two companies reached a tentative agreement, with final contract papers to be signed at the 1983 Summer Consumer Electronics Show (CES), Atari refused to sign at the last minute, after seeing Coleco, one of its main competitors in the market at that time, demonstrating a prototype of "Donkey Kong" for its forthcoming Coleco Adam home computer system. Coleco had licensed "Donkey Kong" for the ColecoVision home console, but Atari had the exclusive computer license for the game. Although the game had been originally produced for the ColecoVision and could thus automatically be played on the backward compatible Adam computer, Atari took the demonstration as a sign that Nintendo was also dealing with Coleco. Though the issue was cleared up within a month, by then Atari's financial problems stemming from the North American video game crash of 1983 left the company unable to follow through with the deal.