Related Ahoy documentary: https://www.youtube.com/watch?v=uHQ4WCU1WQc
See also Wikipedia's overview: https://en.wikipedia.org/wiki/Early_history_of_video_games
If you want Tennis for Two (1958) to be first, you have to introduce criteria that excludes OXO (1952), Checkers (1952), and Sheep and Gates (1952)