Pinball was a Human game, invented in the 19th century with the objective of scoring points by manipulating metallic balls on a playing field inside a glass case. The primary objective of the game was to score as many points as possible. Secondary objectives were to maximize the time spent playing (by earning extra balls and keeping balls in play as long as possible) and to earn free games.
Iotian gangster Bela Okmyx kept a few pinball machines in the storage room where Kirk, Spock , and McCoy were held captive, on Sigma Iotia II. These included Twenty Grand and Majors - 1941. (TOS: "A Piece of the Action")