wiktionary
ref
From pin + ball
etymonline
ref
pinball (n.)
also pin-ball, 1907, type of game played on a sloping surface where the goal was to knock down a pin or pins, from pin (n.) + ball (n.1). Earlier it meant "a pincushion" (1803). The tabletop pin-ball machine is attested from 1937.