ref
early 18th century: from obsolete gamel ‘play games’, or from the verb game1.
gamble + -er
gambler (n.)
1738, agent noun from gamble (v.).