Pong was probably the first actual "Game" you could buy in the shop and just plug it into your TV, and simply switch it on and play it. But computer languages have been around a lot longer, and, no doubt many games would have been written from the 1940's onwards. Given the lack of graphics in those days, the output device being a teletype printer, the games therefore would all have been text.