Back in the 1950's the the Tech Model Railroad Club at MIT got bored. So they began preparing punchcards to control a mainframe computer. They used the the code to turn lights on the mainframe on and off, alternating left and right.

And that's how one of the first computer games was invented, Pong.