Spacewar! (1962) is widely recognized as the first digital computer game, created by Steve Russell at MIT. It ran on a PDP-1 computer and featured two spaceships battling. Mario, Prince of Persia, and Spartan are all from much later gaming eras (1980s and beyond).