The first interactive electronic game on a screen is widely considered "Tennis for Two" (1958), created by William Higinbotham at Brookhaven National Laboratory. It was not commercial—built for a visitors' day exhibit.
Tennis for Two remains the first interactive, real-time, screen-based electronic game built for fun. A crucial stepping stone to modern gaming.