Short for FAN-TAN, a Chinese gambling game.

1

1873.  A. S. Evans, À la California, xi. 250–1. The gambling-houses, where infatuated Celestials were betting themselves poor at the game of ‘Tan.’

2

1883.  Stevenson, Silverado Sq., 189 Where he might … lose his little earnings at the game of tan.

3