First: Super Mario Bros. (1985) — The game that defined the platformer genre and saved the video game industry.
Last: Super Mario Bros. 3 (1988/1990) — Widely considered the greatest 8-bit game ever made, pushing the NES to its absolute limits.
Two games. One defined the medium. The other perfected it.