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 Western role-playing video games
"Telengard", a BASIC port of the earlier PDP-10 game "DND", and "Dungeons of Daggorath", both released in 1982, introduced real-time gameplay. Earlier dungeon crawl games had used turn-based movement, in which the enemies only moved when the adventuring party did. "Tunnels of Doom", produced the same year, introduced separate screens for exploration and combat. "Dragon Quest" is most commonly claimed as the first role-playing video game produced for a console, though journalist Joe Fielder cites the earlier "Dragonstomper".