It is genuinely difficult to pin down a single inventor of the first video game, since several early titles emerged around the same time. Classics like Pac-Man and other early arcade games were created for entertainment and fun, just like most forms of media before them.
In that sense, video games were born from the same simple human desire that has always driven storytelling and play: the wish to be entertained.