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 Eastern role-playing video games
The earliest role-playing video game on a console was "Dragonstomper" on the Atari 2600 in 1982. "Bokosuka Wars", originally released for the Sharp X1 computer in 1983, was ported to the NES console in 1985, and was a commercial success in Japan, where it laid the foundations for the tactical role-playing game subgenre. Other notable early console RPGs included ports of Namco's 1984 arcade action role-playing games: "The Tower of Druaga", which was ported to the NES in 1985, and "Dragon Buster", the first video game to feature a life meter (called "Vitality" in-game), also ported to the NES in 1987.